-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshenv
37 lines (29 loc) · 940 Bytes
/
.zshenv
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
# xdg
export XDG_CONFIG_DIRS="/etc/xdg"
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 XDG_BIN_HOME="$HOME/.local/bin"
export XDG_RUNTIME_DIR="$HOME/.xdg"
export XDG_PROJECTS_DIR="$HOME/projects"
# zsh
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export ZSH_DATA_DIR="$XDG_DATA_HOME/zsh"
export ZSH_CACHE_DIR="$XDG_CACHE_HOME/zsh"
# Homebrew
# Disable homebrew auto-update for faster homebrew loading
export HOMEBREW_NO_AUTO_UPDATE=1
# ripgrep
export RIPGREP_CONFIG_PATH="$XDG_CONFIG_HOME/ripgrep/config"
# less
export LESSHISTFILE="$XDG_CACHE_HOME/.lesshsts"
# wget
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
# nvm
export NVM_DIR="$XDG_DATA_HOME/nvm"
# nodejs
export PNPM_HOME="$XDG_DATA_HOME/pnpm"
export npm_config_cache="$XDG_CACHE_HOME/npm"
export YARN_CACHE_FOLDER="$XDG_CACHE_HOME/npm"
skip_global_compinit=1