aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-11 12:08:40 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-11 12:08:40 +0100
commit91254440a13261e993a21cd1b08a8db9e52490bd (patch)
tree1ad93ee084dfe4e903888e22d65210b1e078aa7a /bashrc
parent918ec40cd8c51068abf58bd6992ebad15bec9f74 (diff)
Enables completion in bash again
This seemed to be missing from my moving back to bash.
Diffstat (limited to '')
-rw-r--r--bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 621fd21..e70c824 100644
--- a/bashrc
+++ b/bashrc
@@ -4,6 +4,11 @@ complete -cf sudo man which
# reduce history size
export HISTCONTROL=ignoreboth
+# completions
+if [ -f /usr/share/bash-completion/completions/pass ]; then
+ . /usr/share/bash-completion/completions/pass
+fi
+
# export PS1='bash-\v-\u@\h \W\$ '
export PS1='\[\033[38;5;208m\]\u@\h:\w\$\[\033[0m\] '