-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.profile
More file actions
93 lines (74 loc) · 1.97 KB
/
.profile
File metadata and controls
93 lines (74 loc) · 1.97 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
export PATH=~/bin:/usr/local/bin:/usr/local/sbin:$PATH
export PS1='% '
export CLICOLOR=1
export LSCOLORS=cxfxexdxbxegedabaggxad
export EDITOR=`which vim`
export BASH_SILENCE_DEPRECATION_WARNING=1
set -o vi
if [ -f "$HOME/.bash_aliases" ]; then
. ~/.bash_aliases
fi
if [ -n "$BASH_VERSION" ]; then
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
if [ -x "/opt/homebrew/bin/brew" ] ; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -x "/usr/libexec/java_home" ]; then
JAVA_HOME=`/usr/libexec/java_home 2> /dev/null`
export JAVA_HOME
fi
if [ -d "$HOME/.rvm/bin" ]; then
export PATH="$PATH:$HOME/.rvm/bin"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
fi
if [ -d "$HOME/.rbenv/shims" ]; then
if [ -d "${HOME}/.rbenv/bin" ]; then
export PATH="$PATH:$HOME/.rbenv/bin"
fi
eval "$(rbenv init -)"
fi
if [ -d "$HOME/.volta/bin" ]; then
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
fi
if [ -d "/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin" ]; then
PATH="$PATH:/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin"
fi
if [ -f "$HOME/.venvburrito/startup.sh" ]; then
. "$HOME/.venvburrito/startup.sh"
fi
if [ -d "$HOME/go" ]; then
GOPATH="$HOME/go"
export GOPATH
fi
if [ -d "$HOME/go/bin" ]; then
export PATH="$PATH:$HOME/go/bin"
fi
if [ -d "/usr/local/opt/go/libexec/bin" ]; then
export PATH="$PATH:/usr/local/opt/go/libexec/bin"
fi
if [ -d "$HOME/.nvm" ]; then
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh"
. "$NVM_DIR/bash_completion"
# terminal started by vscode
if [ "$__CFBundleIdentifier" = "com.microsoft.VSCode" ]; then
# set node version based on .nvmrc
[ -r ./.nvmrc ] && nvm use
fi
fi
if [ -s "$HOME/.profile_local" ]; then
. "$HOME/.profile_local"
fi
if [ -s "$HOME/.cargo/env" ]; then
. "$HOME/.cargo/env"
fi