From: Stefan Huber Date: Tue, 19 Mar 2013 08:55:27 +0000 (+0100) Subject: dotfiles: rename shell confs and add ssh-withautoadd.sh X-Git-Url: https://git.sthu.org/?p=shutils.git;a=commitdiff_plain;h=b18acf8193b93a4b1bae35708a628c6acc686e85;hp=af28e2babec483fd42ceda5aa8127bbf7e326c21 dotfiles: rename shell confs and add ssh-withautoadd.sh --- diff --git a/dotfiles/shell/profile-sshagent b/dotfiles/shell/.profile-sshagent similarity index 100% rename from dotfiles/shell/profile-sshagent rename to dotfiles/shell/.profile-sshagent diff --git a/dotfiles/shell/zshrc b/dotfiles/shell/.zshrc similarity index 100% rename from dotfiles/shell/zshrc rename to dotfiles/shell/.zshrc diff --git a/dotfiles/shell/ssh-withautoadd.sh b/dotfiles/shell/ssh-withautoadd.sh new file mode 100755 index 0000000..c134329 --- /dev/null +++ b/dotfiles/shell/ssh-withautoadd.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +ssh-add -l > /dev/null || ssh-add +ssh "$@" +