-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathzshpath
More file actions
46 lines (32 loc) · 1018 Bytes
/
zshpath
File metadata and controls
46 lines (32 loc) · 1018 Bytes
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
44
45
46
command_exists () {
type "$1" &> /dev/null ;
}
# some programs prefer to use ~/Library/App Support otherwise (ie: lazygit)
export XDG_CONFIG_HOME="$HOME/.config"
export PATH=/opt/homebrew/bin:$PATH
# add rbenv shims to path
export PATH=$HOME/.rbenv/bin:$PATH
# Rust
export PATH=$HOME/.cargo/env:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export PATH=node_modules/.bin:$PATH
# add dotfiles bin path
export PATH=$HOME/.bin:$PATH
export PATH=$HOME/.local/bin:$PATH
# system bin
export PATH=/usr/local/sbin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=~/.nodenv/shims:$PATH
# Go stuff
export GOPATH=$HOME/dev/gocode
export PATH=$GOPATH/bin:$PATH
export ANDROID_HOME=~/Library/Android/sdk
export MACVIM_BIN=/Applications/MacVim.app/Contents/bin
export PATH=${MACVIM_BIN}:${PATH}:${ANDROID_HOME}/tools
if command_exists python3-config ; then
export PKG_CONFIG_PATH=$(python3-config --prefix)/lib/pkgconfig:$PKG_CONFIG_PATH
fi
# Load rbenv
if command_exists rbenv ; then
eval "$(rbenv init - zsh)"
fi