# Runs only once https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout export XDG_CONFIG_HOME="$HOME"/.config export XDG_CACHE_HOME="$HOME"/.cache export XDG_DATA_HOME="$HOME"/.local/share export XDG_STATE_HOME="$HOME"/.local/state export TERM=st-256color export TERMINAL=st export GOPATH="$XDG_CONFIG_HOME"/go export CM_DIR="$XDG_CACHE_HOME/clipmenu" export CM_SELECTIONS="clipboard" export CM_DEBUG=1 export CM_OUTPUT_CLIP=0 export CM_MAX_CLIPS=1000 export CM_IGNORE_WINDOW="Bitwarden|KeePass" export _JAVA_AWT_WM_NONREPARENTING=1 export PAGER='nvimpager -p' export R_HOME_USER="$XDG_CONFIG_HOME"/R export R_PROFILE_USER="$XDG_CONFIG_HOME"/R/.Rprofile export R_LIBS_USER="$XDG_CONFIG_HOME"/R/library export R_HISTFILE="$XDG_CONFIG_HOME"/R/.Rhistory export QT_QPA_PLATFORMTHEME=gtk2 export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 export CARGO_HOME="$XDG_DATA_HOME"/cargo export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv #export GNUPGHOME="$XDG_DATA_HOME"/gnupg export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export XCURSOR_PATH=/usr/share/icons:${XDG_DATA_HOME}/icons export LESSHISTFILE="$XDG_CACHE_HOME"/less/history export TERMINFO="$XDG_DATA_HOME"/terminfo export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc export NVM_DIR="$XDG_DATA_HOME"/nvm export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass export PSQL_HISTORY="$XDG_DATA_HOME/psql_history" export ZSH="$XDG_DATA_HOME"/oh-my-zsh export ZDOTDIR="$XDG_CONFIG_HOME"/zsh export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker export MINIKUBE_HOME="$XDG_DATA_HOME"/minikube export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus export PATH="$HOME/.local/bin:$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin" export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" if grep -q "i5" /proc/cpuinfo; then export LAPTOP="" fi if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then if [ -v LAPTOP ]; then exec startx &> /dev/null else exec startx fi fi