10 lines
255 B
Org Mode
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
|