add completion for passbmi and passebcont
source https://wiki.archlinux.org/title/Pass
This commit is contained in:
parent
2cf176234b
commit
8af95ac676
1 changed files with 12 additions and 0 deletions
12
bash_completion.d/pass
Normal file
12
bash_completion.d/pass
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
source /usr/share/bash-completion/completions/pass
|
||||
|
||||
function _passbmi(){
|
||||
PASSWORD_STORE_DIR=~/.password-store/bmi/ _pass
|
||||
}
|
||||
complete -o filenames -o nospace -F _passbmi passbmi
|
||||
|
||||
function _passebcont(){
|
||||
PASSWORD_STORE_DIR=~/.password-store/ebcont/ _pass
|
||||
}
|
||||
complete -o filenames -o nospace -F _passebcont passebcont
|
Loading…
Reference in a new issue