2 export LANG="en_US.UTF-8"
5 export XDG_CONFIG_HOME="$HOME/.config"
6 export XDG_CACHE_HOME="$HOME/.cache"
8 [[ -d ~/.bash ]] && path=($HOME/.bash $path)
11 if [ -f /opt/homebrew/bin/brew ]; then
12 path=($path /opt/homebrew/bin /opt/homebrew/sbin)
13 elif [ -f /usr/local/bin/brew ]; then
14 path=($path /usr/local/sbin)
16 if hash brew 2>/dev/null; then
17 fpath=($(brew --prefix)/share/zsh/site-functions $fpath)
18 [[ -d $(brew --prefix)/share/zsh-completions ]] && \
19 fpath=($(brew --prefix)/share/zsh-completions $fpath)
20 export HOMEBREW_NO_ANALYTICS=1
21 export HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED=1
22 export HOMEBREW_GITHUB_API_TOKEN=your-github-api-token
23 export HOMEBREW_EDITOR=/usr/bin/vim
24 #export HOMEBREW_VERBOSE=1
25 export HOMEBREW_CASK_OPTS="--appdir=$HOME/Applications"
29 if hash go 2>/dev/null; then
30 export GOPATH="$HOME/.go"
31 path=($HOME/.go/bin $path)
35 if hash gem 2>/dev/null; then
36 export GEM_HOME=$HOME/.gem
37 path=($path $(ruby -r rubygems -e "puts Gem.user_dir")/bin)