From: Oleg Broytman Date: Mon, 9 Apr 2018 19:59:21 +0000 (+0300) Subject: Fix(.shellrc): Fix directory name: bash_completion -> bash-completion X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ad1fd6dcf5ea7e44ddb3f1e912ffbfc6aa47581b;p=dotfiles.git Fix(.shellrc): Fix directory name: bash_completion -> bash-completion --- diff --git a/.shellrc b/.shellrc index 0cfd207..ff08941 100644 --- a/.shellrc +++ b/.shellrc @@ -74,7 +74,7 @@ if test -n "$BASH_VERSION"; then has_completion() { return 0; } if [ -z "$BASH_COMPLETION_COMPAT_DIR" ]; then if [ "$SHELL" = /bin/bash ]; then - if [ -d /usr/share/bash_completion ]; then + if [ -d /usr/share/bash-completion ]; then . /usr/share/bash-completion/bash_completion has_completion() { [ -r /usr/share/bash-completion/completions/$1 ]; } elif [ -f /etc/bash_completion ]; then