We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea812f commit e965294Copy full SHA for e965294
completions/gdb
@@ -19,8 +19,8 @@ _comp_cmd_gdb()
19
compopt -o filenames
20
if _comp_looks_like_path "$cur"; then
21
# compgen -c works as expected if $cur contains any slashes.
22
- IFS=$'\n'
23
- COMPREPLY=($(PATH="$PATH:." compgen -d -c -- "$cur"))
+ local PATH="$PATH:."
+ _comp_compgen -- -d -c
24
else
25
# otherwise compgen -c contains Bash's built-in commands,
26
# functions and aliases. Thus we need to retrieve the program
0 commit comments