X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshrc;fp=states%2Fzsh%2Ffiles%2Fzshrc;h=22f0b6542f644dc89e8348558b46882fa8ab7387;hb=023600839acf7dbdc53f019219f3bd3d059224dc;hp=57c58ec874b7ef601b65ccb439096c6aa588a872;hpb=4f4af91f5f52bba65da2a91141d3faf203ab76f4;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index 57c58ec..22f0b65 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -50,18 +50,7 @@ precmd () { __git_ps1 "" "$(virtual_env)${p}" "${NEWLINE}[%s]${NEWLINE}" } - -if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then - gpg-connect-agent /bye >/dev/null 2>&1 -fi - -unset SSH_AGENT_PID -if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then - export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -fi - - -gpg-connect-agent updatestartuptty /bye > /dev/null +eval $(keychain --agents gpg,ssh --eval --quiet --noask id_ed25519 B3030EB2 F0C471E6) bindkey '^R' history-incremental-search-backward