about summary refs log tree commit diff
path: root/Completion/User/_gdb
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-09-07 08:39:20 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-09-07 08:39:20 +0000
commit0fe98894a8a40b0021d7863be9f47df91ad1e28f (patch)
tree9a6061fd635b39a529f59b7fd9c0707c4d896f4c /Completion/User/_gdb
parentcceb4703de6973b51bfc7404f00ac9c026d415aa (diff)
downloadzsh-0fe98894a8a40b0021d7863be9f47df91ad1e28f.tar.gz
zsh-0fe98894a8a40b0021d7863be9f47df91ad1e28f.tar.xz
zsh-0fe98894a8a40b0021d7863be9f47df91ad1e28f.zip
stick some `N's into glob patterns (12768)
Diffstat (limited to 'Completion/User/_gdb')
-rw-r--r--Completion/User/_gdb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_gdb b/Completion/User/_gdb
index 0445e18e9..e1cca537f 100644
--- a/Completion/User/_gdb
+++ b/Completion/User/_gdb
@@ -4,13 +4,13 @@ local cur="$words[CURRENT]" prev w list ret=1 expl
 
 [[ "$PREFIX" = --* ]] &&
     _arguments -- '*=(CORE|SYM)FILE:core file:_files' \
-		  '*=EXECFILE:executable:_files \*\(-\*\)' \
-		  '*=TTY:terminal device:compadd /dev/tty\*' && return 0
+		  '*=EXECFILE:executable:_files -g \*\(-\*\)' \
+		  '*=TTY:terminal device:compadd /dev/tty\*\(N\)' && return 0
 
 if compset -P '-(cd|directory)='; then
   _files -/
 elif compset -P '-tty='; then
-  _wanted devices expl 'terminal device' compadd - /dev/tty*
+  _wanted devices expl 'terminal device' compadd - /dev/tty*(N)
 elif compset -P '-(exec|se)='; then
   _description files expl executable
   _files "$expl[@]" -g '*(-*)'