]> git.phdru.name Git - dotfiles.git/commitdiff
Fix(.shellrc): Fix directory name: bash_completion -> bash-completion
authorOleg Broytman <phd@phdru.name>
Mon, 9 Apr 2018 19:59:21 +0000 (22:59 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 9 Apr 2018 19:59:21 +0000 (22:59 +0300)
.shellrc

index 0cfd207e9cf22601f7ea0de7d66b421c2073b5f5..ff089415d0369a3b135b17ab5f2a73b133d22327 100644 (file)
--- 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