Prevent bash warning when no completions are installed
This commit is contained in:
parent
7c3b26b8e2
commit
7e59326d1c
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ stty -ixon # disable ctrl-s and ctrl-q
|
||||||
_update_colors "${BACKGROUND:-dark}"
|
_update_colors "${BACKGROUND:-dark}"
|
||||||
|
|
||||||
# Enable available completion helpers
|
# Enable available completion helpers
|
||||||
while read -r d; do [ -d "$d" ] && for f in "$d"/*; do . "$f"; done; done <<EOL
|
while read -r d; do [ -d "$d" ] && for f in "$d"/*; do [ -f "$f" ] && . "$f"; done; done <<EOL
|
||||||
$LOCAL_PREFIX/etc/bash_completion.d
|
$LOCAL_PREFIX/etc/bash_completion.d
|
||||||
$XDG_CONFIG_HOME/bash/completion.d
|
$XDG_CONFIG_HOME/bash/completion.d
|
||||||
EOL
|
EOL
|
||||||
|
|
Loading…
Add table
Reference in a new issue