dotfiles: rename shell confs and add ssh-withautoadd.sh
[shutils.git] / dotfiles / shell / ssh-withautoadd.sh
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 "$@"
+