diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/User/_rlogin | 4 | ||||
-rw-r--r-- | Completion/User/_ssh | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index af740472c..76e30c67d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-11-20 Bart Schaefer <schaefer@zsh.org> + + * E. Jay Birkenbilt: 13171, 13172: Completion/User/_rlogin, + Completion/User/_ssh: Don't autoremove a trailing `:' after + completing a host name, but do autoremove a trailing `@' after + completing a user name. + 2000-11-15 Bart Schaefer <schaefer@zsh.org> * 13167: Completion/User/_perl_modules: Avoid cd entirely. diff --git a/Completion/User/_rlogin b/Completion/User/_rlogin index abc6f116e..f84939ce9 100644 --- a/Completion/User/_rlogin +++ b/Completion/User/_rlogin @@ -40,11 +40,11 @@ _rlogin () { if compset -P '*:'; then _files && ret=0 elif compset -P '*@'; then - _wanted hosts expl host _rlogin_hosts -S: -q && ret=0 + _wanted hosts expl host _rlogin_hosts -S: && ret=0 else _alternative \ 'files:: _files' \ - 'hosts:: _rlogin_all_hosts -qS:' \ + 'hosts:: _rlogin_all_hosts -S:' \ 'users:: _rlogin_users -qS@' && ret=0 fi fi diff --git a/Completion/User/_ssh b/Completion/User/_ssh index a52de5681..c6a6898f1 100644 --- a/Completion/User/_ssh +++ b/Completion/User/_ssh @@ -190,7 +190,7 @@ _ssh () { _alternative \ 'files:: _files' \ 'hosts:host:_ssh_hosts -S:' \ - 'users:user:_ssh_users -S@' && ret=0 + 'users:user:_ssh_users -qS@' && ret=0 fi fi return ret |