mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-23 01:33:32 +01:00
16 lines
388 B
Text
16 lines
388 B
Text
|
# Enable password-storage and its bash completion
|
||
|
|
||
|
PASSDIR="${DOTFILES}/password-storage"
|
||
|
|
||
|
# Only do this when the submodule is loaded
|
||
|
if [ -d "${PASSDIR}/src" ]; then
|
||
|
source "${PASSDIR}/src/completion/pass.bash-completion"
|
||
|
|
||
|
# If pass not registered as executable in your path
|
||
|
# Make an alias
|
||
|
if [[ $(command -v pass) ]]; then
|
||
|
alias pass="${PASSDIR}/src/password-store.sh"
|
||
|
fi
|
||
|
fi
|
||
|
|