From 044bef565bc53f64a62bd2186d82cb8273d1322b Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 29 Jul 2015 16:14:32 +0200 Subject: [PATCH] fixed autocompletion for password-store (trunk) --- home/.bashrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/.bashrc b/home/.bashrc index ca7f358..fee8826 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -47,13 +47,17 @@ if hash dircolors 2>/dev/null; then fi # Include more scripts -if [ -f /etc/bash_completion ]; then +if [ -r /etc/bash_completion ]; then source /etc/bash_completion; fi -if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then +if [ -r /opt/local/etc/profile.d/bash_completion.sh ]; then source /opt/local/etc/profile.d/bash_completion.sh fi +if [ -r ~/workspace/password-store/src/completion/pass.bash-completion ]; then + source ~/workspace/password-store/src/completion/pass.bash-completion +fi + source ~/.homesick/repos/homeshick/homeshick.sh source ~/.homesick/repos/homeshick/completions/homeshick-completion.bash