2023-02-21 02:20:44 +01:00
|
|
|
#/usr/share/bash-completion/completions/pass!/bin/bash
|
|
|
|
loginfo "does pass exist? $(whereis pass)"
|
|
|
|
if [ -e /usr/share/bash-completion/completions/pass ]
|
|
|
|
then
|
|
|
|
source /usr/share/bash-completion/completions/pass
|
2023-02-18 21:32:19 +01:00
|
|
|
|
2023-02-21 02:20:44 +01:00
|
|
|
function _passbmi(){
|
|
|
|
PASSWORD_STORE_DIR=~/.password-store/bmi/ _pass
|
|
|
|
}
|
|
|
|
complete -o filenames -o nospace -F _passbmi passbmi
|
2023-02-18 21:32:19 +01:00
|
|
|
|
2023-02-21 02:20:44 +01:00
|
|
|
function _passebcont(){
|
|
|
|
PASSWORD_STORE_DIR=~/.password-store/ebcont/ _pass
|
|
|
|
}
|
|
|
|
complete -o filenames -o nospace -F _passebcont passebcont
|
|
|
|
fi
|