fish: unlock gpg at login

This commit is contained in:
Marcel Kapfer 2018-02-03 18:32:12 +01:00
parent 2ea71424a7
commit bd8e803a8d
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -96,6 +96,9 @@ gpg-connect-agent updatestartuptty /bye > /dev/null
# This must be at the bottom of this file
if status --is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
# Unlock GPG keyring befor starting X.
# This makes some things easier.
echo "gpg unlock" | gpg -se -r me@mmk2410.org > /dev/null
exec startx -- -keeptty
end
end