about summary refs log tree commit diff
path: root/Completion/Unix/Command/_showmount
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-03-07 03:18:53 +0000
committerClint Adams <clint@users.sourceforge.net>2005-03-07 03:18:53 +0000
commit76640bfc44b1e21d35f8e9568686d8a5a1923ac6 (patch)
tree4c938d6cac9cdc3b8e023b32c521d125ba85586f /Completion/Unix/Command/_showmount
parent6d5ff606f546858de1c4b86eb9b9acad5ad947f8 (diff)
downloadzsh-76640bfc44b1e21d35f8e9568686d8a5a1923ac6.tar.gz
zsh-76640bfc44b1e21d35f8e9568686d8a5a1923ac6.tar.xz
zsh-76640bfc44b1e21d35f8e9568686d8a5a1923ac6.zip
* 20942: Completion/Unix/Command/_showmount: completion for showmount command.
Diffstat (limited to 'Completion/Unix/Command/_showmount')
-rw-r--r--Completion/Unix/Command/_showmount10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_showmount b/Completion/Unix/Command/_showmount
new file mode 100644
index 000000000..913091198
--- /dev/null
+++ b/Completion/Unix/Command/_showmount
@@ -0,0 +1,10 @@
+#compdef showmount
+
+_arguments \
+	'(-a --all)'{-a,--all}'[list both hostname and mounted dir in host:dir format]' \
+	'(-d --directories)'{-d,--directories}'[list only the directories mounted by some client]' \
+	'(-e --exports)'{-e,--exports}'[show server export list]' \
+	'(-h --help)'{-h,--help}'[help]' \
+	'(-v --version)'{-v,--version}'[version]' \
+	'--no-headers[suppress descriptive headers from output]' \
+	':host:_hosts'