-
Notifications
You must be signed in to change notification settings - Fork 2
/
zprofile.mac
41 lines (32 loc) · 1.14 KB
/
zprofile.mac
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
# Text Editor
export EDITOR="nvim"
export VISUAL="${EDITOR}"
# User binaries
[ -d "${HOME}/bin" ] && PATH="${HOME}/bin:${PATH}"
[ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}"
# Erlang / Elixir
export ERL_AFLAGS="-kernel shell_history enabled"
# Go
export GOPATH="${HOME}/.golang"
export GOBIN="${GOPATH}/bin"
[ -d "${GOBIN}" ] && PATH="${GOBIN}:${PATH}"
# Homebrew
eval "$(/opt/homebrew/bin/brew shellenv)"
HOMEBREW_NO_ENV_HINTS=1
# NodeJS
[ -d "${HOME}/.node_modules/bin" ] && PATH="${HOME}/.node_modules/bin:${PATH}"
[ -d "${HOME}/.yarn/bin" ] && PATH="${HOME}/.yarn/bin:${PATH}"
[ -f /usr/share/nvm/init-nvm.sh ] && . /usr/share/nvm/init-nvm.sh
# Python
PATH="${PATH}:${HOME}/.pyenv/versions/3.7.13/bin"
PATH="${PATH}:/opt/homebrew/opt/[email protected]/bin"
PATH="${PATH}:/opt/homebrew/opt/[email protected]/bin"
PATH="${PATH}:/opt/homebrew/opt/[email protected]/bin"
# Ruby
[ -d /opt/homebrew/opt/ruby/bin ] && PATH="/opt/homebrew/opt/ruby/bin:${PATH}"
if which ruby >/dev/null && which gem >/dev/null
then
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:${PATH}"
fi
# Terraform Plugin Cache
export TF_PLUGIN_CACHE_DIR="${HOME}/.terraform.d/plugins"