adding gpg agent
This commit is contained in:
parent
7caf973063
commit
a79968e9af
2 changed files with 9 additions and 0 deletions
8
.bashrc
8
.bashrc
|
@ -78,3 +78,11 @@ fi
|
||||||
|
|
||||||
# Misc utilities
|
# Misc utilities
|
||||||
fliptable() { echo "(╯°□°)╯ ┻━┻"; }
|
fliptable() { echo "(╯°□°)╯ ┻━┻"; }
|
||||||
|
|
||||||
|
# GPG Agent
|
||||||
|
if [ -f "${HOME}/.gpg-agent-info" ]; then
|
||||||
|
. "${HOME}/.gpg-agent-info"
|
||||||
|
export GPG_AGENT_INFO
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
fi
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|
1
.xinitrc
1
.xinitrc
|
@ -7,6 +7,7 @@ case "$1" in
|
||||||
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
||||||
xcompmgr &
|
xcompmgr &
|
||||||
/usr/bin/xscreensaver -no-splash &
|
/usr/bin/xscreensaver -no-splash &
|
||||||
|
eval $(/usr/bin/gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
|
||||||
exec awesome
|
exec awesome
|
||||||
;;
|
;;
|
||||||
weston|weston-launch)
|
weston|weston-launch)
|
||||||
|
|
Loading…
Reference in a new issue