From ea3767e313a7a6d315189b3cb2f3ec0c981e5121 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 13 Feb 2021 13:06:18 -0500 Subject: [PATCH] Alias ssh-add to default 1h timeout --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index 5e243b1..a461b24 100644 --- a/zshrc +++ b/zshrc @@ -118,6 +118,10 @@ if R --version &>/dev/null; then alias R='R --no-save --no-restore-data' fi +if command -v ssh-add &>/dev/null; then + alias ssh-add='ssh-add -t 1h' +fi + unsetopt correct_all bindkey '^R' history-incremental-search-backward