2017-12-13 15:28:21 -08:00
|
|
|
export BROWSER=firefox
|
|
|
|
export GNUPGHOME="$XDG_CONFIG_HOME/gpg"
|
|
|
|
export GTK2_RC_FILES="${0:A:h}/config/gtk-2.0/gtkrc"
|
|
|
|
export URXVT_PERL_LIB="$XDG_CONFIG_HOME/urxvt"
|
2017-12-26 09:51:59 -08:00
|
|
|
export QT_QPA_PLATFORMTHEME=gtk2
|
2017-12-30 15:39:33 -08:00
|
|
|
|
2018-04-22 21:04:26 -07:00
|
|
|
_source "$XDG_RUNTIME_DIR/ssh-agent-env" >/dev/null
|
|
|
|
if [[ -z $SSH_AGENT_PID ]] || ! ps $SSH_AGENT_PID >/dev/null; then
|
2017-12-30 15:39:33 -08:00
|
|
|
ssh-agent -s >"$XDG_RUNTIME_DIR/ssh-agent-env"
|
2018-04-22 21:04:26 -07:00
|
|
|
_source "$XDG_RUNTIME_DIR/ssh-agent-env" >/dev/null
|
|
|
|
fi
|
|
|
|
|
2017-12-30 15:39:33 -08:00
|
|
|
_is_running gpg-agent || {
|
|
|
|
gpg-agent --daemon >"$XDG_RUNTIME_DIR/gpg-agent-env"
|
|
|
|
}
|
|
|
|
_source "$XDG_RUNTIME_DIR/gpg-agent-env" >/dev/null
|