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.
-o filenames
1 parent c39d2e3 commit c8b9830Copy full SHA for c8b9830
bash_completion
@@ -2707,9 +2707,8 @@ _complete_as_root()
2707
_comp_compgen_commands()
2708
{
2709
[[ ! ${cur-} ]] && shopt -q no_empty_cmd_completion && return
2710
- _comp_compgen -- -c -o plusdirs
2711
- # for e.g. spaces in paths to and in command names
2712
- ((${#COMPREPLY[@]} == 0)) || compopt -o filenames
+ # -o filenames for e.g. spaces in paths to and in command names
+ _comp_compgen -- -c -o plusdirs && compopt -o filenames
2713
}
2714
2715
# @since 2.12
0 commit comments