config/user/.config/zsh/.zshenv

38 lines
1.2 KiB
Bash

# default programs
export EDITOR="nvim"
export TERMINAL="st"
# export BROWSER="firefox"
# xdg dirs
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache"
# cleaning .home
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
export ANDROID_HOME="$XDG_DATA_HOME"/android
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export PASSWORD_STORE_DIR="$HOME"/pass
export WINEPREFIX="$XDG_DATA_HOME"/wine
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export HISTFILE="${XDG_STATE_HOME}"/bash/history
# Set program to get sudo password for mounting drives
export SUDO_ASKPASS="$HOME/.local/bin/dmenu-askpass"
# path
export PATH=~/.local/bin/:$PATH
# themeing
export QT_QPA_PLATFORMTHEME="qt5ct"
alias mbsync="mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/personal/zshenv" ] && \
source "${XDG_CONFIG_HOME:-$HOME/.config}/zsh/personal/zshenv"