export EDITOR='/usr/bin/vim'
export VIMINIT="source $HOME/.config/vim/vimrc"
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
export PASSWORD_STORE_GENERATED_LENGTH='64'

if [ -x "$(command -v gpgconf)" ]
then
    export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
    gpgconf --launch gpg-agent
fi

[ -x "$(command -v mpd)" ] && mpd &
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &

[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc