~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/bash_profile: Use gnome-keyring-daemon's SSH agent if available.
[profile]
/
dot
/
bash_profile
diff --git
a/dot/bash_profile
b/dot/bash_profile
index
513f754
..
69fbebf
100644
(file)
--- a/
dot/bash_profile
+++ b/
dot/bash_profile
@@
-198,6
+198,10
@@
ulimit -S -c 0
# --- Start an ssh authentication agent ---
# --- Start an ssh authentication agent ---
+if stuff=$(gnome-keyring-daemon -s 2>/dev/null); then
+ eval "$stuff"; export GNOME_KEYRING_CONTROL SSH_AUTH_SOCK
+fi
+
eval `start-ssh-agent -b`
if [ -z "$__mdw_bashrc" ] && [ "$__mdw_force_secure_session" = "yes" ] ||
eval `start-ssh-agent -b`
if [ -z "$__mdw_bashrc" ] && [ "$__mdw_force_secure_session" = "yes" ] ||