all repos — nixfiles @ f659263a26f84c8f4540e3ede0b7eba6cad00e2a

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

zsh: Add function to set emacs' SSH agent socket

Alan Pearce
commit

f659263a26f84c8f4540e3ede0b7eba6cad00e2a

parent

a67a49386bcbef7ad83706e41dc8842c4b0bac58

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

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -21,6 +21,9 @@ }
projectile () { _emacs_function projectile-switch-project-by-name ${1:-$PWD} } +set-emacs-ssh-agent () { + emacsclient -e "(setenv \"SSH_AUTH_SOCK\" \"$SSH_AUTH_SOCK\")" +} yarn () { PREFIX=$HOME/.local command yarn "$@" }