commit cd52a275c3b37c5a667117966899c4e1f1173892
parent 6ba6b8a6a5d94bd7ccd156ecc6a547592e4f54a4
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 21 Sep 2019 10:54:57 -0400
Cache ssh key for the entire session
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.bashrc b/.bashrc
@@ -12,4 +12,4 @@ alias la='ll -a'
export PS1='\[$(tput sgr0)\]\n\[$(tput setaf 6)\][\t] \[$(tput setaf 7)\]\u@\h: \[$(tput setaf 4)\]\w\n\[$(tput setaf 4)$(tput bold)\]\$\[$(tput sgr0)\] '
# Use keychain to manage ssh keys.
-eval "$(keychain --eval --quiet --timeout 180 id_rsa)"
+eval "$(keychain --eval --quiet id_rsa)"