Alias ssh-add to default 1h timeout

This commit is contained in:
Dan Buch 2021-02-13 13:06:18 -05:00
parent 07fc475ca1
commit ea3767e313
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

4
zshrc
View File

@ -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