dotfiles/macos.local/flake/home/programs/zsh/profile-extra.sh.org
2025-03-05 22:17:31 -06:00

10 lines
255 B
Org Mode

#+title: Profile Extra Code
Enable =ssh-agent= at login.
#+begin_src sh
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
#+end_src