.dotfiles/.zprofile

14 lines
307 B
Bash

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