Skip to content

Commit 532fc05

Browse files
committed
fix(gdb): remove duplicate candidates
1 parent 73938cd commit 532fc05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/gdb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _comp_cmd_gdb()
3131
IFS=$' \t\n'
3232
find ${path_array[@]+"${path_array[@]}"} . -name . -o \
3333
-type d -prune -o -perm -u+x -print 2>/dev/null |
34-
command sed 's|^.*/||'
34+
command sed 's|^.*/||' | sort -u
3535
)"
3636
fi
3737
elif ((cword == 2)); then

0 commit comments

Comments
 (0)