dotfiles/macos.local/.flake/home/programs/zsh/profile-extra.sh.org
2025-01-08 17:24:21 -06:00

255 B

Profile Extra Code

Enable ssh-agent at login.

  if [ ! -S ~/.ssh/ssh_auth_sock ]; then
    eval `ssh-agent` > /dev/null
    ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
  fi
  export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock