summaryrefslogtreecommitdiffstats
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:14:06 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-04 12:14:06 +0000
commit3c3ffa433dca8c6c396d1cca734bc349a91b9797 (patch)
tree3e64c1b3747450bca87394a65812dfdd1b7a1f82 /Completion/User
parentzsh-workers/9560 (diff)
downloadzsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.gz
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.bz2
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.lz
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.xz
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.zst
zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.zip
zsh-workers/9562
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_gdb8
-rw-r--r--Completion/User/_ssh4
-rw-r--r--Completion/User/_strip2
3 files changed, 7 insertions, 7 deletions
diff --git a/Completion/User/_gdb b/Completion/User/_gdb
index a095370ab..283aff631 100644
--- a/Completion/User/_gdb
+++ b/Completion/User/_gdb
@@ -4,7 +4,7 @@ local cur="$words[CURRENT]" prev w list ret=1 expl
[[ "$PREFIX" = --* ]] &&
_arguments -- '*=(CORE|SYM)FILE:core file:_files' \
- '*=EXECFILE:executable:_files \*\(\*\)' \
+ '*=EXECFILE:executable:_files \*\(-\*\)' \
'*=TTY:terminal device:compadd /dev/tty\*' && return 0
if compset -P '-(cd|directory)='; then
@@ -13,7 +13,7 @@ elif compset -P '-tty='; then
_wanted devices expl 'terminal device' && compadd "$expl[@]" - /dev/tty*
elif compset -P '-(exec|se)='; then
_description files expl executable
- _files "$expl[@]" -g '*(*)'
+ _files "$expl[@]" -g '*(-*)'
elif compset -P '-(symbols|core|command)='; then
_files
elif [[ "$PREFIX" = -* ]]; then
@@ -30,7 +30,7 @@ else
(-d) _files -/ && return 0 ;;
(-[csx]) _files && return 0 ;;
(-e) _description files expl executable
- _files "$expl[@]" -g '*(*)' && return 0 ;;
+ _files "$expl[@]" -g '*(-*)' && return 0 ;;
(-b) _wanted -V values expl 'baud rate' &&
compadd "$expl[@]" 0 50 75 110 134 150 200 300 600 1200 1800 \
2400 4800 9600 19200 38400 57600 115200 \
@@ -47,6 +47,6 @@ else
_alternative 'files:: _files' "processes:: _pids -m ${w[1]:t}"
else
_description files expl executable
- _files "$expl[@]" -g '*(*)'
+ _files "$expl[@]" -g '*(-*)'
fi
fi
diff --git a/Completion/User/_ssh b/Completion/User/_ssh
index 9b07a62cf..aa4ffb2f6 100644
--- a/Completion/User/_ssh
+++ b/Completion/User/_ssh
@@ -91,7 +91,7 @@ _ssh () {
;;
*(#i)xauthlocation*)
_description files expl 'xauth program'
- _files "$expl[@]" -g '*(*)' && ret=0
+ _files "$expl[@]" -g '*(-*)' && ret=0
;;
esac
else
@@ -155,7 +155,7 @@ _ssh () {
'-c[select encryption cipher]:encryption cipher:(idea des 3des blowfish arcfour tss none)' \
'-P[specify port on remote host]:port number on remote host:' \
'-i[select identity file]:SSH identity file:_files' \
- '-S[specify path to ssh]:path to ssh:_files -g \*\(\*\)' \
+ '-S[specify path to ssh]:path to ssh:_files -g \*\(-\*\)' \
'-o[give SSH options]:options:->options' \
'-p[preserve modification times]' \
'-r[recursively copy directories]' \
diff --git a/Completion/User/_strip b/Completion/User/_strip
index 378eafe99..d7d8aabdd 100644
--- a/Completion/User/_strip
+++ b/Completion/User/_strip
@@ -3,4 +3,4 @@
local expl
_description files expl executable
-_files "$expl[@]" -g '*(*)'
+_files "$expl[@]" -g '*(-*)'