-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zprofile
43 lines (38 loc) · 1.5 KB
/
dot_zprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Profile file. Runs on login. Environmental variables are set here.
# Default programs:
# Use neovim for (almost) everything:
export VISUAL="nvim"
export EDITOR="$VISUAL"
export GIT_EDITOR="nvim"
export DIFFPROG="nvim -d"
export MANPAGER="nvim +Man!"
# export MANWIDTH=999
# XDG base directories
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"
# ~/ Clean-up:
export CARGO_HOME="${XDG_DATA_HOME}/cargo"
export GNUPGHOME="${XDG_DATA_HOME}/gnupg"
export GOPATH="${XDG_DATA_HOME}/go"
export GOMODCACHE="${XDG_CACHE_HOME}/go/mod"
export GTK2_RC_FILES="${HOME}/.config/gtk-2.0/gtkrc-2.0"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="${XDG_CONFIG_HOME}"/java
export NPM_CONFIG_USERCONFIG=${XDG_CONFIG_HOME}/npm/npmrc
export NUGET_PACKAGES="${XDG_CACHE_HOME}"/NuGetPackages
export PARALLEL_HOME="${XDG_CONFIG_HOME}"/parallel
export PYTHON_HISTORY=${XDG_STATE_HOME}/python/history
export PYTHONPYCACHEPREFIX=${XDG_CACHE_HOME}/python
export PYTHONUSERBASE=${XDG_DATA_HOME}/python
export RUFF_CACHE_DIR=${XDG_CACHE_HOME}/ruff
export RUSTUP_HOME="${XDG_DATA_HOME}"/rustup
export SQLITE_HISTORY=${XDG_DATA_HOME}/sqlite_history
export WGETRC="${XDG_CONFIG_HOME}/wgetrc"
export WINEPREFIX="${XDG_DATA_HOME}/wineprefixes/default"
export ZDOTDIR="${HOME}/.config/zsh"
# Custom directories:
export DEVEL="${HOME}/Documents/devel"
# Other environment variables:
export ELECTRON_OZONE_PLATFORM_HINT=auto
export GPG_TTY=$(tty)