diff options
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_gdb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_gdb b/Completion/User/_gdb index b16d18fb7..4e21d7448 100644 --- a/Completion/User/_gdb +++ b/Completion/User/_gdb @@ -47,9 +47,9 @@ else if [[ $#w -gt 1 ]]; then _files && ret=0 _description expl 'process ID' - list=("${(F)${(@Mr:COLUMNS-1:)${(f)$(ps ${compconfig[ps_listargs]:-$compconfig[ps_args]} 2>/dev/null)}[2,-1]:#[ ]#${PREFIX}[0-9]#${SUFFIX}[ ]*${w[1]:t}}} + list=("${(F)${(@Mr:COLUMNS-1:)${(f)$(ps ${=compconfig[ps_listargs]:-$=compconfig[ps_args]} 2>/dev/null)}[2,-1]:#[ ]#${PREFIX}[0-9]#${SUFFIX}[ ]*${w[1]:t}}} ") - compadd "$expl[@]" -ld list - ${${${(M)${(f)"$(ps $compconfig[ps_args] 2>/dev/null)"}:#*${w[1]:t}*}## #}%% *} && ret=0 + compadd "$expl[@]" -ld list - ${${${(M)${(f)"$(ps $=compconfig[ps_args] 2>/dev/null)"}:#*${w[1]:t}*}## #}%% *} && ret=0 return ret else |