mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-18 05:06:38 +02:00
[bash] rename bash/rc and bash/bash.d
This commit is contained in:
parent
f67517fdec
commit
6b0d6af2f8
10 changed files with 8 additions and 6 deletions
15
bash/bashrc.d/password-store.bash
Normal file
15
bash/bashrc.d/password-store.bash
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Enable password-storage and its bash completion
|
||||
|
||||
PASSDIR="${DOTFILES}/.password-store"
|
||||
|
||||
# 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue