diff --git a/bash_completion b/bash_completion index 3e24aa59..b75ed219 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -1268,7 +1268,7 @@ _cd() [ ${#dirs[@]} ] && COMPREPLY=( ${COMPREPLY[@]} ${dirs[@]#$i/}) done fi - COMPREPLY=( $( compgen -d $cur ) ) + COMPREPLY=( ${COMPREPLY[@]} $( compgen -d $cur ) ) return 0 }