summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Completion/Unix/Command/_ssh2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ef31e4648..2fd6a519e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
*****************************************************
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index 7e85e2bb6..3e499b8d0 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -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 '' )