summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 710740b..6ba2c5f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -380,7 +380,10 @@ if [[ "$SSH_AGENT_PID" == "" ]]; then
eval $(<~/.ssh-agent-thing)
fi
ssh-add -l >/dev/null || alias ssh='ssh-add -l >/dev/null || ssh-add && unalias ssh; ssh'
-
+if [ -n "$DESKTOP_SESSION" ];then
+ eval $(gnome-keyring-daemon --start)
+ export SSH_AUTH_SOCK
+fi
#export WINEPREFIX=$HOME/.config/wine/
#export WINEARCH=win32
@@ -406,3 +409,5 @@ fshow() {
FZF-EOF"
}
RIPGREP_CONFIG_PATH=~/.ripgreprc
+GPG_TTY=$(tty)
+export GPG_TTY