X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/85d3810bff9add23ef3bd9e30b02821b3e6b9279..1ee519346fac51178b3e3e55565531f0cdd4d4be:/dot/bash_profile diff --git a/dot/bash_profile b/dot/bash_profile index abd3463..69fbebf 100644 --- a/dot/bash_profile +++ b/dot/bash_profile @@ -49,7 +49,7 @@ __mdw_addto () { l) val=${new#:}:$val;; r) val=$val$new;; esac - case $change in t) export $var=$val ;; esac + case $change in t) export $var="$val" ;; esac } # --- Set the path variable --- @@ -198,6 +198,10 @@ ulimit -S -c 0 # --- 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" ] ||