summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index b2befda2..fa3b3876 100644
--- a/.bashrc
+++ b/.bashrc
@@ -20,10 +20,8 @@ PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h:\w\a\]\[\e[1m\]$PS1\[\e[0m\]
*) PS1="\[\e[1m\]$PS1\[\e[0m\]" ;;
esac
-# enable better completion
-if [ -f /etc/bash_completion ]; then
- . /etc/bash_completion
-fi
+[ -f /usr/share/bash-completion/bash_completion ] \
+ && . /usr/share/bash-completion/bash_completion
# history settings
HISTCONTROL=ignorespace:ignoredups