1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Make gnome-keyring available outside gnome.

This commit is contained in:
Bert Peters
2016-12-21 11:29:28 +01:00
parent ad70e7c8f3
commit dcadef9fa4

View File

@@ -21,6 +21,12 @@ if [ -z $XDG_RUNTIME_DIR ]; then
export XDG_RUNTIME_DIR
fi
# Make gnome-keyring available
if [ -n "$DESKTOP_SESSION" ] && hash gnome-keyring-daemon &> /dev/null; then
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
fi
# Set up less
export LESS='-x4 -SR'
export LESSHISTFILE="$XDG_DATA_HOME/less/history"