diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2022-11-15 20:36:33 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2022-11-15 20:36:33 +0100 |
commit | c9d032760c886d5b639df15e50ac8b0636cb0524 (patch) | |
tree | 6fbcab993ba8372b982afbd6d1b4f580b864cf80 /.zshrc | |
parent | 9139d7dda4da7c4f4d78fd1514f182696056cbb1 (diff) |
pam environment is depreciated
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -80,5 +80,10 @@ zstyle ':vcs_info:git:*' formats '|%F{3}%b%f' gpg-connect-agent updatestartuptty /bye > /dev/null +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +fi + setopt PROMPT_SUBST PROMPT='<%F{2}%n%f@%F{6}%m%f|%F{5}%~%f${vcs_info_msg_0_}%f> ' |