From: Adam Spiers <localadams@a25.ram.ac.uk>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: missing _user@host
Date: Wed, 29 Sep 1999 19:56:20 +0100 [thread overview]
Message-ID: <19990929195620.A15890@thelonious.new.ox.ac.uk> (raw)
In-Reply-To: <19990927175800.A769@caerdonn.eurocontrol.fr>
Ollivier Robert (roberto@eurocontrol.fr) 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] ]]
prev parent reply other threads:[~1999-09-29 18:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-26 14:17 PATCH: improvement to user@host completions Adam Spiers
1999-09-26 15:02 ` Peter Stephenson
1999-09-26 16:57 ` Bart Schaefer
1999-09-26 23:28 ` Adam Spiers
1999-09-26 17:29 ` CVS and patch (again; Re: PATCH: improvement to user@host completions) Bart Schaefer
1999-09-27 7:54 ` PATCH: improvement to user@host completions Tanaka Akira
1999-09-27 13:24 ` PATCH: missing _user@host Adam Spiers
1999-09-27 14:43 ` Ollivier Robert
1999-09-27 15:58 ` Ollivier Robert
1999-09-29 18:56 ` Adam Spiers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990929195620.A15890@thelonious.new.ox.ac.uk \
--to=localadams@a25.ram.ac.uk \
--cc=adam@spiers.net \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).