Skip to content

Commit

Permalink
Don't try to use Starship or Keychain if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbieber committed May 4, 2023
1 parent 027fde7 commit 6c11679
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions configs/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,12 @@ else
alias l="ls -lhF --group-directories-first --color=always"
fi

eval "$(keychain -q --eval id_rsa)"
eval "$(starship init zsh)"
if type "keychain" > /dev/null; then
eval "$(keychain -q --eval id_rsa)"
fi

if type "starship" > /dev/null; then
eval "$(starship init zsh)"
fi

# vim: set et ts=2 sw=2 tw=79 cc=+1 :

0 comments on commit 6c11679

Please sign in to comment.