-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzprofile
40 lines (30 loc) · 824 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
33
34
35
36
37
38
39
40
path=( /opt/local/bin /opt/local/sbin /usr/local/bin /usr/local/sbin $path )
if [[ -d /usr/local/opt/go/libexec/bin ]] ; then
path=( /usr/local/opt/go/libexec/bin $path )
fi
# should be set to bin in $GOPATH which defaults to ~/go
if [[ -d ~/go/bin ]] ; then
path=( ~/go/bin $path )
fi
if [[ -d /usr/local/opt/python/libexec/bin ]] ; then
path=( /usr/local/opt/python/libexec/bin $path )
fi
if [[ -d ~/local/bin ]] ; then
path=( ~/local/bin $path )
fi
if [[ -d ~/bin ]] ; then
path=( ~/bin $path )
fi
if [[ -d /usr/local/opt/cython/bin ]] ; then
path=( /usr/local/opt/cython/bin $path )
fi
typeset -gxU path
if [[ -f /opt/homebrew/bin/brew ]] ; then
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
if [[ -f ~/.cargo/env ]] ; then
. ~/.cargo/env
fi
if [[ -f ~/.secrets ]] ; then
source ~/.secrets
fi