diff --git a/bash_completion b/bash_completion index 84f9bd07..98f5214b 100644 --- a/bash_completion +++ b/bash_completion @@ -588,7 +588,7 @@ _filedir() # if [[ "$1" != -d ]]; then xspec=${1:+"!*.$1"} - if [[ ${cur:0:1} == "'" && ${BASH_VERSINFO[0]} -ge 4 ]]; then + if [[ ${BASH_VERSINFO[0]} -ge 4 ]]; then toks=( ${toks[@]-} $( eval compgen -f -X \"\$xspec\" -- $quoted ) )