dotfiles/macos.local/flake/home/programs/zsh/profile-extra.sh.org
2025-03-05 22:17:31 -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