## Adds `~/.local/bin` to $PATH export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')" # Default programs. export EDITOR="nvim" export TERMINAL="st" export BROWSER="qutebrowser" ## Keep the home directory tidy. export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export LESSHISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/less/history" export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" export GNUPGHOME="${XDG_CONFIG_HOME:-$HOME/.config}/gnupg" export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store" export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch/notmuchrc" ### Below allows pass to prompt for GPG passphrase export GPG_TTY=$(tty) ## StartX when first logging in. if [[ "$(tty)" = "/dev/tty1" ]]; then pgrep dwm || startx fi