Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _fsh
- X-seq: zsh-workers 16375
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _fsh
- Date: Tue, 25 Dec 2001 22:43:06 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Index: Completion/Unix/Command/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/.distfiles,v
retrieving revision 1.16
diff -u -r1.16 .distfiles
--- Completion/Unix/Command/.distfiles 2001/12/19 15:07:31 1.16
+++ Completion/Unix/Command/.distfiles 2001/12/26 03:41:32
@@ -16,4 +16,5 @@
_diff _gs _make _psutils _tin _apm _mail
_last _loadkeys _modutils _ruby _sysctl _links _samba
_user_admin _rsync _arping _spamassassin _mtools _ifconfig
+_fsh
'
Index: Completion/Unix/Command/_fsh
===================================================================
RCS file: _fsh
diff -N _fsh
--- /dev/null Thu May 24 22:33:05 2001
+++ _fsh Tue Dec 25 19:41:32 2001
@@ -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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author