mirror of git://git.code.sf.net/p/zsh/code
Han Pingtian: 31167 (with tweak): limit use of colons for recognising
remote path in ssh completion
This commit is contained in:
parent
0c226a6282
commit
275ba0fdca
|
@ -1,3 +1,9 @@
|
|||
2013-03-20 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* Han Pingtian: 31167 (with tweak):
|
||||
Completion/Unix/Command/_ssh: limit use of colons for detecting
|
||||
a remote path.
|
||||
|
||||
2013-03-19 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 31158: Src/pattern.c: following a wildcard with a repetition
|
||||
|
@ -625,5 +631,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5825 $
|
||||
* $Revision: 1.5826 $
|
||||
*****************************************************
|
||||
|
|
|
@ -519,7 +519,7 @@ _ssh () {
|
|||
fi
|
||||
;;
|
||||
file)
|
||||
if compset -P '*:'; then
|
||||
if compset -P '[^./][^/]#:'; then
|
||||
_remote_files -- ssh ${(kv)~opt_args[(I)-[FP1246]]/-P/-p} && ret=0
|
||||
elif compset -P '*@'; then
|
||||
suf=( -S '' )
|
||||
|
|
Loading…
Reference in New Issue