about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-01-07 08:49:16 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-01-07 08:49:16 +0000
commita9d6514476bab06ee0b8a11376305761888e7589 (patch)
tree632ab0900cd1dcff7a5d68e52465087b5e454c4a
parent11207a7e48e1a2467a734706d2524c44f42843c4 (diff)
downloadzsh-a9d6514476bab06ee0b8a11376305761888e7589.tar.gz
zsh-a9d6514476bab06ee0b8a11376305761888e7589.tar.xz
zsh-a9d6514476bab06ee0b8a11376305761888e7589.zip
18058: allow multiple port redirections
-rw-r--r--Completion/Unix/Command/_ssh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index af306b3f0..2615ca871 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -70,8 +70,8 @@ _ssh () {
       '-V[show version number]' \
       '(-X)-x[disable X11 forwarding]' \
       '(-x)-X[enable X11 forwarding]' \
-      '-L[specify local port forwarding]:local port forwarding:->forward' \
-      '-R[specify remote port forwarding]:remote port forwarding:->forward' \
+      '*-L[specify local port forwarding]:local port forwarding:->forward' \
+      '*-R[specify remote port forwarding]:remote port forwarding:->forward' \
       ':remote host name:->userhost' \
       '*::args:->command' "$common[@]" && ret=0
     ;;