.dotfiles/.zprofile

12 lines
281 B
Bash

. "$HOME/.config/environment"
. "$HOME/.config/aliasrc"
if [ -x "$(command -v gpgconf)" ]; then
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
fi
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec $AUTOSTART_DISPLAY
fi