only register ssh alias if 1p utils present
This commit is contained in:
parent
336b99ac32
commit
72817e0e61
|
@ -21,8 +21,10 @@ export PATH="$PATH:$HOME/.local/bin/dart-sass"
|
||||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||||
|
|
||||||
# User program: add 1password SSH utils
|
# User program: add 1password SSH utils
|
||||||
|
if [ -d "$HOME/.1password-ssh-utils/bin" ]; then
|
||||||
export PATH="$HOME/.1password-ssh-utils/bin:$PATH"
|
export PATH="$HOME/.1password-ssh-utils/bin:$PATH"
|
||||||
alias ssh="op-ssh-fetch -n && ssh"
|
alias ssh="op-ssh-fetch -n && ssh"
|
||||||
|
fi
|
||||||
|
|
||||||
# User program: add rbenv
|
# User program: add rbenv
|
||||||
[ -s "~/.rbenv/bin/rbenv" ] && eval "$(~/.rbenv/bin/rbenv init - zsh)"
|
[ -s "~/.rbenv/bin/rbenv" ] && eval "$(~/.rbenv/bin/rbenv init - zsh)"
|
||||||
|
|
Loading…
Reference in a new issue