diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-11-01 19:26:53 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-11-01 19:29:45 +0200 |
commit | 0f450219b667ec5f8d951b0c41593c7b983e2ada (patch) | |
tree | 054f929068849317af412dc94e9db23db437fa7b /completions/gdb | |
parent | 494c44f5a36d29955f46efe2289d0f945a8039c5 (diff) | |
download | bash-completion-0f450219b667ec5f8d951b0c41593c7b983e2ada.tar.gz |
Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation. This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
Diffstat (limited to 'completions/gdb')
-rw-r--r-- | completions/gdb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/gdb b/completions/gdb index dc769613..f0bc42d3 100644 --- a/completions/gdb +++ b/completions/gdb @@ -10,6 +10,7 @@ _gdb() if [ $COMP_CWORD -eq 1 ]; then local IFS + _compopt_o_filenames if [[ "$cur" == */* ]]; then # compgen -c works as expected if $cur contains any slashes. IFS=$'\n' |