all repos — nixfiles @ a58e033e366f7a5776e6d53ac45b44a426aadbd2

System and user configuration, managed by nix and home-manager

zsh: Setup SSH auth sock if empty

Alan Pearce
commit

a58e033e366f7a5776e6d53ac45b44a426aadbd2

parent

5203a119ddf35b02cf95e7e7f40f4e1f3d78c382

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -96,6 +96,11 @@
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' '+m:{A-Z}={a-z}' zstyle ':completion:*' completer _expand _complete _match +if [[ -z $SSH_AUTH_SOCK && $commands[ssh-agent] ]] +then + eval $(ssh-agent) +fi + if zplug check Tarrasch/zsh-autoenv then AUTOENV_FILE_ENTER=.envrc