about summary refs log tree commit diff
path: root/Completion/Unix/Command/_last
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-03-25 16:05:31 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-03-25 16:05:31 +0000
commit531194ffcaf0eafb262fe766e23f888c38374b3f (patch)
tree43c92b67ef675627a771712bb29fb2a7d3aef9df /Completion/Unix/Command/_last
parent99bec60e456f00b94eb1385c7bc151ba91ff0078 (diff)
downloadzsh-531194ffcaf0eafb262fe766e23f888c38374b3f.tar.gz
zsh-531194ffcaf0eafb262fe766e23f888c38374b3f.tar.xz
zsh-531194ffcaf0eafb262fe766e23f888c38374b3f.zip
merge changes from 4.1
Diffstat (limited to 'Completion/Unix/Command/_last')
-rw-r--r--Completion/Unix/Command/_last17
1 files changed, 17 insertions, 0 deletions
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'