projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d876fd
)
Add ssh-withautoadd.sh
author
Stefan Huber <shuber@sthu.org>
Fri, 3 Jan 2014 12:54:55 +0000
(13:54 +0100)
committer
Stefan Huber <shuber@sthu.org>
Fri, 3 Jan 2014 12:54:55 +0000
(13:54 +0100)
ssh-withautoadd.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/ssh-withautoadd.sh
b/ssh-withautoadd.sh
new file mode 100755
(executable)
index 0000000..
c134329
--- /dev/null
+++ b/
ssh-withautoadd.sh
@@ -0,0
+1,5
@@
+#!/bin/sh
+
+ssh-add -l > /dev/null || ssh-add
+ssh "$@"
+