zsh-workers
 help / color / mirror / code / Atom feed
1aa3bc2626fefc124b261c23bbb9255fcca4db07 blob 829 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
#compdef dmesg

local -a args

case $OSTYPE in
  linux*) args=( -S --  ) ;;
  darwin*|dragonfly*|*bsd*)
    args=(
      '-M[extract values from core]:core file:_files'
      '-N[extract name list from kernel image]:system:_files'
    )
  ;|
  dragonfly*|freebsd*)
    args=(
      '-a[show all data, including syslog and console]'
      '-c[clear the buffer after printing]'
    )
  ;|
  openbsd*)
    args+=(
      '-s[show console message buffer instead]'
    )
  ;;
  dragonfly*)
    args+=(
      '\*-f[follow buffer, displaying new data as it arrives]'
      '-n[use specified kernel core]:number'
    )
  ;;
  netbsd*)
    args+=(
      '-d[show timestamp deltas]'
      '(-t)-T[format uptime timestamps in a human readable form]'
      '(-T)-t[suppress printing uptime timestamps]'
    )
  ;;
esac

_arguments -s : $args
debug log:

solving 1aa3bc262 ...
found 1aa3bc262 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).