-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshenv
More file actions
30 lines (23 loc) · 764 Bytes
/
zshenv
File metadata and controls
30 lines (23 loc) · 764 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
# path_helperというものがデフォルトで/etc/pathsの/usr/binなどを最後に読み込むので無効にする
# https://karur4n.hatenablog.com/entry/2016/01/18/100000
setopt no_global_rcs
# Common
export PATH=${HOME}/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin:${PATH}
# editor
export EDITOR=nvim
# rbenv
export RBENV_ROOT="${HOME}/.rbenv"
export PATH="${RBENV_ROOT}/shims:${PATH}"
eval "$(rbenv init -)"
# pyenv
export PYENV_ROOT="${HOME}/.pyenv"
export PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
# go
export GOPATH="${HOME}/go"
export PATH="${GOPATH}/bin:${PATH}"
# nodenv
export NDENV_PATH="${HOME}/.nodenv"
export PATH="${NDENV_PATH}/bin:${PATH}"
eval "$(nodenv init -)"