diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-23 23:21:05 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-11-23 23:22:53 -0700 |
commit | de87394d24f8ce50e5d398c3b0373d2dd4342f58 (patch) | |
tree | b47c6df1c6e547bd27fadedf19b594ab1a21d374 | |
parent | 4ae15d8fe4a8294f2396cde530aca05c0773008c (diff) | |
download | dotfiles-de87394d24f8ce50e5d398c3b0373d2dd4342f58.tar.gz |
load bash_completion in a way closer to what's documented
-rw-r--r-- | .bashrc | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |