From cb4bb129dd143255a582ddd203baa73d3dcc1db7 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Fri, 6 Oct 2000 13:01:51 +0000 Subject: more option setting cleanup; remove some unnecessary setopts, remove N qualifiers (12917) --- Completion/User/_gdb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/User/_gdb') diff --git a/Completion/User/_gdb b/Completion/User/_gdb index e1cca537f..f7dbb0a10 100644 --- a/Completion/User/_gdb +++ b/Completion/User/_gdb @@ -5,12 +5,12 @@ local cur="$words[CURRENT]" prev w list ret=1 expl [[ "$PREFIX" = --* ]] && _arguments -- '*=(CORE|SYM)FILE:core file:_files' \ '*=EXECFILE:executable:_files -g \*\(-\*\)' \ - '*=TTY:terminal device:compadd /dev/tty\*\(N\)' && return 0 + '*=TTY:terminal device:compadd /dev/tty\*' && return 0 if compset -P '-(cd|directory)='; then _files -/ elif compset -P '-tty='; then - _wanted devices expl 'terminal device' compadd - /dev/tty*(N) + _wanted devices expl 'terminal device' compadd - /dev/tty* elif compset -P '-(exec|se)='; then _description files expl executable _files "$expl[@]" -g '*(-*)' -- cgit 1.4.1