From 4a90922401a97da4dca1c35cbec7e16ee226e7b5 Mon Sep 17 00:00:00 2001 From: fedora Date: Fri, 24 May 2019 00:33:42 +0200 Subject: [PATCH] Created an alias for quickly starting ssh-agent and ssh-adding the relevant key on demand --- zsh/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/zshrc b/zsh/zshrc index 5045cc9..af1742c 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -126,6 +126,7 @@ alias v='vim' # life's too short to type "vim" every time in full alias vimrc='vim ~/.vim/vimrc' alias alltheconfigs='~/alltheconfigs.sh' + alias agentssh='ssh-agent -s && ssh-add ~/.ssh/fedUltim' # add development key on demand alias rsync-copy='rsync -avz --progress -h' alias rsync-move='rsync -avz --progress -h --remove-source-files' alias rsync-synchronize='rsync -avzu --delete --progress -h'