Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: missing _user@host
- X-seq: zsh-workers 8101
- From: Adam Spiers <localadams@xxxxxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: missing _user@host
- Date: Wed, 29 Sep 1999 19:56:20 +0100
- In-reply-to: <19990927175800.A769@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19990926151723.F1246@xxxxxxxxxxxxxxxxxxxxxxx> <rsqd7v494d6.fsf@xxxxxxxxxxxxxxxxx> <19990927142427.E10336@xxxxxxxxxxxxxxxxxxxxxxx> <19990927164319.A8641@xxxxxxxxxxxxxxxxxxxxxxx> <19990927175800.A769@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Ollivier Robert (roberto@xxxxxxxxxxxxxx) wrote:
> According to Ollivier Robert:
> > Could you please use a filename with '@' in it ? It can screw up some
>
> Of course, one has to read "withOUT a '@'"... Sorry.
I knew I was tempting fate with that `@' ...
Index: Completion/User/_my_accounts
===================================================================
RCS file: /usr/local/cvsroot/zsh/Completion/User/_my_accounts,v
retrieving revision 1.3
diff -u -r1.3 _my_accounts
--- Completion/User/_my_accounts 1999/09/28 10:32:21 1.3
+++ Completion/User/_my_accounts 1999/09/28 10:34:47
@@ -10,4 +10,4 @@
accounts_users_hosts=( $my_accounts )
fi
-_user@host "$@"
+_user_at_host "$@"
Index: Completion/User/_other_accounts
===================================================================
RCS file: /usr/local/cvsroot/zsh/Completion/User/_other_accounts,v
retrieving revision 1.4
diff -u -r1.4 _other_accounts
--- Completion/User/_other_accounts 1999/09/28 10:32:21 1.4
+++ Completion/User/_other_accounts 1999/09/28 10:34:52
@@ -10,4 +10,4 @@
accounts_users_hosts=( $other_accounts )
fi
-_user@host "$@"
+_user_at_host "$@"
Index: Completion/User/_user@host
===================================================================
RCS file: _user@host
diff -N _user@host
--- /tmp/cvsNB3LWJ Tue Sep 28 11:35:36 1999
+++ /dev/null Tue May 5 21:32:27 1998
@@ -1,15 +0,0 @@
-#autoload
-
-local expl nm="$compstate[nmatches]"
-
-if [[ -prefix 1 *@ ]]; then
- local user=${PREFIX/@}
- compset -P 1 '*@'
- _description expl "hostnames for $user"
- _combination accounts_users_hosts users="$user" hosts "$expl[@]" "$@"
-else
- _description expl "usernames"
- _combination accounts_users_hosts users -S@ -q "$expl[@]" "$@"
-fi
-
-[[ nm -ne compstate[nmatches] ]]
Index: Completion/User/_user_at_host
===================================================================
RCS file: _user_at_host
diff -N _user_at_host
--- /dev/null Tue May 5 21:32:27 1998
+++ _user_at_host Mon Sep 27 14:21:31 1999
@@ -0,0 +1,15 @@
+#autoload
+
+local expl nm="$compstate[nmatches]"
+
+if [[ -prefix 1 *@ ]]; then
+ local user=${PREFIX/@}
+ compset -P 1 '*@'
+ _description expl "hostnames for $user"
+ _combination accounts_users_hosts users="$user" hosts "$expl[@]" "$@"
+else
+ _description expl "usernames"
+ _combination accounts_users_hosts users -S@ -q "$expl[@]" "$@"
+fi
+
+[[ nm -ne compstate[nmatches] ]]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author