add keychain zsh plugin

This commit is contained in:
Jan Eitzinger 2024-02-16 17:11:56 +01:00
parent 2b743f3985
commit 19bde18412

View File

@ -1,10 +1,6 @@
eval $(keychain --eval --agents ssh {{ .sshkey }})
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
ZSH=$HOME/.oh-my-zsh
ZSH_DISABLE_COMPFIX="true"
# CASE_SENSITIVE="true"
DISABLE_AUTO_TITLE="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
COMPLETION_WAITING_DOTS="false"
@ -23,6 +19,8 @@ alias ccd='chezmoi cd'
alias cdi='chezmoi diff'
alias cap='chezmoi apply'
zstyle :omz:plugins:keychain agents ssh
zstyle :omz:plugins:keychain identities {{ .sshkey }}
source $ZSH/oh-my-zsh.sh
export LC_ALL=en_US.UTF-8