dotfiles: rename shell confs and add ssh-withautoadd.sh
authorStefan Huber <shuber@sthu.org>
Tue, 19 Mar 2013 08:55:27 +0000 (09:55 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 19 Mar 2013 08:55:27 +0000 (09:55 +0100)
dotfiles/shell/.profile-sshagent [moved from dotfiles/shell/profile-sshagent with 100% similarity]
dotfiles/shell/.zshrc [moved from dotfiles/shell/zshrc with 100% similarity]
dotfiles/shell/ssh-withautoadd.sh [new file with mode: 0755]

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 (executable)
index 0000000..c134329
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+ssh-add -l > /dev/null || ssh-add
+ssh "$@"
+