commit 21ed7aaca5d3ef45c74c02ab78bd6919e49a87fb
parent c71250841198c0f2f5fb2c7007da860ebad2b231
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 7 Sep 2019 08:46:45 -0400
Use keychain to manage ssh keys
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -10,3 +10,6 @@ alias la='ll -a'
# Prompt
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)"