From 4d37e1e5a2d22ae30594a7ecb0bea88e4b80d961 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 25 Jun 2001 18:52:14 +0000 Subject: 15079: completion for last(1) --- ChangeLog | 6 ++++++ Completion/Unix/Command/_last | 17 +++++++++++++++++ Completion/Unix/Type/_users | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Completion/Unix/Command/_last diff --git a/ChangeLog b/ChangeLog index bae8ee09d..844857a39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-06-25 Clint Adams + + * 15079: Completion/Unix/Command/_last, + Completion/Unix/Type/_users: last + takes other arguments than users. + 2001-06-25 Peter Stephenson * 15030: Doc/Zsh/grammar.yo, Src/loop.c, Src/parse.c, Src/text.c: diff --git a/Completion/Unix/Command/_last b/Completion/Unix/Command/_last new file mode 100644 index 000000000..56537bf84 --- /dev/null +++ b/Completion/Unix/Command/_last @@ -0,0 +1,17 @@ +#compdef last lastb + +_arguments \ + '-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]:_hosts' \ + '-s[report duration in seconds]' \ + '-t[tty]:tty:' \ + '-w[widen duration field]' \ + '*:user:_users' diff --git a/Completion/Unix/Type/_users b/Completion/Unix/Type/_users index a7ea8b714..573d8fdb1 100644 --- a/Completion/Unix/Type/_users +++ b/Completion/Unix/Type/_users @@ -1,4 +1,4 @@ -#compdef last passwd groups +#compdef passwd groups local expl users -- cgit 1.4.1