summary refs log tree commit diff
path: root/Completion/Unix/Command/_last
blob: 43a08a7090c13f64e614cd3b3712af8817361548 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#compdef last lastb

_arguments -s \
  '-a[display hostname in last column]' \
  '-n[number]:number' \
  '-[number]:number' \
  '-f[filename]:filename:_files' \
  '-R[suppress display of hostname field]' \
  '-d[translate IP to hostname]' \
  '-i[display IP]' \
  '-o[read old-format wtmp]' \
  '-x[display shutdown/runlevel entries]' \
  '-h[hostname]:host:_hosts' \
  '-s[report duration in seconds]' \
  '-t[tty]:tty' \
  '-w[widen duration field]' \
  '*:user:_users'