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
|
||||||
export PATH="$HOME/.1password-ssh-utils/bin:$PATH"
|
if [ -d "$HOME/.1password-ssh-utils/bin" ]; then
|
||||||
alias ssh="op-ssh-fetch -n && ssh"
|
export PATH="$HOME/.1password-ssh-utils/bin:$PATH"
|
||||||
|
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