diff options
author | lxf <sng@luxagraf.net> | 2020-12-12 17:48:50 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2020-12-12 17:48:50 +0000 |
commit | a9164c2a5248077c73dd050113b167008a6dda41 (patch) | |
tree | 4e0431f4cdda57d937769f240c71097958c4e5eb /.bashrc | |
parent | 383ce5da5f2230c08fd527336f56f60a5d3e71d0 (diff) |
added gpg hook to bashrc
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |