-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshenv
24 lines (20 loc) · 963 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
# http://zsh.sourceforge.net/Doc/Release/Files.html#Startup_002fShutdown-Files
# 0. If ZDOTDIR is unset, HOME is used instead.
# 1. /etc/zshenv and then $ZDOTDIR/.zshenv
# 2. Login shell? /etc/zprofile and then $ZDOTDIR/.zprofile
# 3. Interactive login shell? /etc/zshrc and then $ZDOTDIR/.zshrc
# 4. Login shell? /etc/zlogin and $ZDOTDIR/.zlogin
# 5. Login shell exiting via `exit`? $ZDOTDIR/.zlogout and then /etc/zlogout
export HOMEBREW_NO_ANALYTICS=1
export GOPATH="${HOME}/src/go"
##### XDG #####
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_BIN_HOME="${HOME}/.local/bin"
##### PATH #####
# zsh is "smart" and removes dirs from PATH that don't exist
PATH="${GOPATH:-$HOME/src/go}/bin:${PATH}" # GOBIN
PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"
PATH="/Applications/IntelliJ IDEA.app/Contents/MacOS:$PATH"
PATH="${XDG_BIN_HOME}:${HOME}/bin:/usr/local/sbin:${PATH}"
export PATH