dotfiles/zshenv
2022-11-08 21:41:28 -05:00

47 lines
1.7 KiB
Bash

# https://wiki.archlinux.org/title/XDG_Base_Directory
export BROWSER=firefox
export EDITOR=nvim
export TERMINAL="kitty"
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_CACHE_HOME="$HOME"/.cache
export CHROME_EXECUTABLE=$(which chromium)
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export ZDOTDIR=~/.config/zsh
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export DOT_SAGE="$XDG_CONFIG_HOME"/sage
export LESSHISTFILE="$XDG_DATA_HOME"/less/history
export HISTFILE="$XDG_DATA_HOME"/zsh/history
export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
export NUGET_PACKAGES="$XDG_CACHE_HOME"/nuget
export GDBHISTFILE="$XDG_DATA_HOME"/gdb/history
export VIMDOTDIR="$XDG_CONFIG_HOME"/vim
export NVIM_HOME="$XDG_CONFIG_HOME"/nvim
export IPYTHONDIR="$XDG_CONFIG_HOME"/ipython
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
export GOPATH="$XDG_DATA_HOME"/go
export LESSKEY="$XDG_DATA_HOME"/less/keys
export RANDFILE="$XDG_DATA_HOME"/rnd
export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/pythonrc
export TEXMFHOME="$XDG_CONFIG_HOME"/texmf
export TEXMFVAR="$XDG_CACHE_HOME"/texmf-var
export TEXMFCONFIG="$XDG_CONFIG_HOME"/texlive/texmf-config
export STEAM_HOME="$HOME"/media/games
export BINJA_HOME="$HOME"/.config/binja
export MC_HOME="$HOME"/media/games/minecraft
export MOZILLA_HOME="$XDG_DATA_HOME"/mozilla
export SPOTIFY_HOME="$HOME"/media/spotify
export KRUNKER_HOME="$HOME"/media/games/krunker
export FEH_HOME="$HOME"/.config/feh/
export R_HOME="$HOME"/.local/share/R
export R_HOME_DIR="$HOME"/.local/share/R
export SCREENSHOT_HOME="$HOME"/media/images
export TERM=xterm-256color