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.
$BASH_COMPLETION_COMPAT_DIR
1 parent cdd8a15 commit b9db024Copy full SHA for b9db024
bash_completion
@@ -2611,7 +2611,7 @@ _comp_xfunc()
2611
2612
# source compat completion directory definitions
2613
_comp__init_compat_dirs=()
2614
-if [[ -n $BASH_COMPLETION_COMPAT_DIR ]]; then
+if [[ ${BASH_COMPLETION_COMPAT_DIR-} ]]; then
2615
_comp__init_compat_dirs+=("$BASH_COMPLETION_COMPAT_DIR")
2616
else
2617
_comp__init_compat_dirs+=(/etc/bash_completion.d)
0 commit comments