git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix corruption in fonts.conf and prefer DejaVu fonts.
[profile.git]
/
.profile.d
/
ssh.bashrc
diff --git
a/.profile.d/ssh.bashrc
b/.profile.d/ssh.bashrc
index
0bb5011
..
65d117d
100644
(file)
--- a/
.profile.d/ssh.bashrc
+++ b/
.profile.d/ssh.bashrc
@@
-6,7
+6,7
@@
if [ $UID -gt 0 ]; then
while read allowed; do
if [ "${HOSTNAME%%.*}" = "$allowed" ]; then
eval $(keychain -q --timeout 7200 --agents ssh --eval)
while read allowed; do
if [ "${HOSTNAME%%.*}" = "$allowed" ]; then
eval $(keychain -q --timeout 7200 --agents ssh --eval)
- if
tty -s
; then
+ if
[ -t 0 ]
; then
ssh-add -l >/dev/null || ssh-add
fi
fi
ssh-add -l >/dev/null || ssh-add
fi
fi