summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_fsh
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-01-16 23:29:55 +0000
committerClint Adams <clint@users.sourceforge.net>2002-01-16 23:29:55 +0000
commitd4768537c91a43705432b58eb5e0931b93ce7b5f (patch)
tree96bad6250de2bdff00b2e761823bdbd9a1876d71 /Completion/Unix/Command/_fsh
parent16375: command completion for fsh (diff)
downloadzsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar.gz
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar.bz2
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar.lz
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar.xz
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.tar.zst
zsh-d4768537c91a43705432b58eb5e0931b93ce7b5f.zip
oops
Diffstat (limited to 'Completion/Unix/Command/_fsh')
-rw-r--r--Completion/Unix/Command/_fsh23
1 files changed, 23 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_fsh b/Completion/Unix/Command/_fsh
new file mode 100644
index 000000000..a7cc22e6a
--- /dev/null
+++ b/Completion/Unix/Command/_fsh
@@ -0,0 +1,23 @@
+#compdef fsh
+
+_arguments \
+ '(--help)-h[help]' \
+ '(-h)--help' \
+ '(--version)-V[version]' \
+ '(-V)--version' \
+ '-r[method]:method:(rsh ssh)' \
+ '-l[login]:login:_users' \
+ '(--timeout)-T:idle timeout:' \
+ '(-T)--timeout:idle timeout:' \
+ ':remote host name:_hosts' \
+ '(-):command: _command_names -e' \
+ '*::args:->command' && return 0
+
+case "$state" in
+ command)
+ shift 1 words
+ (( CURRENT-- ))
+ _normal
+ return
+ ;;
+esac