diff --git a/bash_completion b/bash_completion index 44137c25..e724f02e 100644 --- a/bash_completion +++ b/bash_completion @@ -1518,6 +1518,8 @@ _command_offset() cspec=${cspec%% *} if [[ "$cspec" != @(dir|file)names ]]; then COMPREPLY=("${COMPREPLY[@]//\\\\:/:}") + else + _compopt_o_filenames fi fi elif [ -n "$cspec" ]; then