-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zprofile
32 lines (26 loc) · 911 Bytes
/
.zprofile
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
# Load Go
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:$GOPATH/bin
# Homebrew
export PATH="/usr/local/sbin:$PATH"
# M1 Mac will install at `/opt/homebrew`.
#if [[ $(uname -m) == 'arm64' ]]; then
# eval $(/opt/homebrew/bin/brew shellenv)
#else
# eval $(/usr/local/homebrew/bin/brew shellenv)
#fi
# Load NVM
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Delta
# https://github.com/dandavison/delta#mouse-scrolling
export DELTA_PAGER="less -R"
# fzf
export FZF_DEFAULT_COMMAND='rg --hidden -l ""'
# direnv
eval "$(direnv hook zsh)"
# autojump
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh