forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.path
43 lines (34 loc) · 1.45 KB
/
.path
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
# shellcheck shell=bash
# Add to the $PATH
JAVA_HOME=$(/usr/libexec/java_home)
export JAVA_HOME
export ANDROID_HOME='/usr/local/java/android-sdk-macosx'
export ANDROID_NDK_HOME='/usr/local/java/android-ndk-r9'
export GOPATH=$HOME/golang
GOROOT=$(brew --prefix go)/libexec
export GOROOT
export GEMPATH='/usr/local/lib/ruby/gems/2.7.0'
# homebrew in general
PATH="/usr/local/bin:/usr/local/sbin:$PATH"
PATH="/opt/homebrew/bin:/opt/homebrew/opt:$PATH"
# home directory stuff
PATH="$HOME/bin:$HOME/.scripts:$PATH"
PATH="$HOME/.cargo/bin:$PATH"
# ruby gems
PATH="$(brew --prefix ruby)/bin:$PATH"
PATH=$PATH:$JAVA_HOME/bin
PATH=$PATH:$GOPATH/bin
PATH=$PATH:$GOROOT/bin
PATH=$PATH:$GEMPATH/bin
PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK_HOME
PATH=$PATH:/usr/local/heroku/bin
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=$PATH:/opt/homebrew/share/git-core/contrib/diff-highlight # diff-highlight from git contrib
PATH=$PATH:/usr/local/share/git-core/contrib/diff-highlight # diff-highlight from git contrib
export PATH
# shellcheck source=/dev/null
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# The next line updates PATH for the Google Cloud SDK.
# source '/usr/local/google-cloud-sdk/path.bash.inc'
# The next line enables shell command completion for gcloud.
# source '/usr/local/google-cloud-sdk/completion.bash.inc'