From 8212bd1e12c9c133f74dc0f5a0ca782c3f037a60 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 4 Aug 2023 12:20:03 +0200 Subject: [PATCH] add ssh-key caching --- home/.zsh/zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.zsh/zshrc b/home/.zsh/zshrc index adaa98c..939ca60 100644 --- a/home/.zsh/zshrc +++ b/home/.zsh/zshrc @@ -142,6 +142,10 @@ export FZF_CTRL_R_OPTS='--no-sort --exact' source ~/.local/share/nnn/quitcd/quitcd.bash_zsh export NNN_PLUG='j:jump;z:autojump;' +### --- ssh-agent setup ------------------------------------ +eval $(ssh-agent) +ssh-add ~/.ssh/id_rsa + ### --- kitty Config ------------------------------------ # $KITTY_TERM is a custom envar I set in the kitty conf # this stuff does not work nicely with tmux, just make them regular aliases. Shows an error if you use them in another terminal