forked from atomantic/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.shellpaths
81 lines (63 loc) · 2.15 KB
/
.shellpaths
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
export OS="$(uname -s)"
if [[ "$OS" == "Darwin" ]]; then
export USR_PATH="/usr/local"
elif [[ "$(uname -s)" == "Linux" ]]; then
export USR_PATH="/usr"
fi
# Brew
# homebrews ($USR_PATH/bin) should always take precedence
# export PATH=ASD:${PATH}
export PATH=/usr/local/bin:/usr/local/sbin:~/bin:$PATH
# export PATH=/bin:/usr/bin:$USR_PATH/sbin:$HOME/bin:$USR_PATH/bin:${PATH} # Redudant?
# export PATH=$USR_PATH/sbin:${PATH}
export LDFLAGS="-L/usr/local/opt/libffi/lib"
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
if [[ "$OS" == "Linux" ]]; then
export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH
fi
# PHP
export PATH=$PATH:$HOME/.composer/vendor/bin
# GO
# export PATH=$PATH:$GOPATH/bin
# export PATH=$PATH:$GOROOT/bin
export PATH=$PATH:$USR_PATH/opt/go/libexec/bin
# Ruby
# or use specific version
# export PATH=$PATH:$USR_PATH/opt/ruby/bin
# export PATH=$PATH:$USR_PATH/opt/[email protected]/bin
# export PATH=$PATH:$USR_PATH/.rbenv/bin
export PATH=$PATH:$USR_PATH/lib/ruby/gems/2.7.0/bin
export PATH="$HOME/.rbenv/bin:$PATH"
# Python
# export PYTHONPATH=
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="$HOME/Library/Python/3.8/bin:$PATH"
# Node
export PATH=$PATH:~/.npm-global/bin
export PATH=$PATH:$HOME/.config/yarn/link/
# export PATH=$PATH:./node_modules/.bin # is insecure in combination with the -execdir action of find.
export PATH=$PATH:$USR_PATH/share/npm/bin
# My Scripts
export PATH=$PATH:$MY_DOTFILES/scripts
# # Rpi
# export PATH=$PATH:$HOME/pi/.bin
# OPENSSL
export PATH=$PATH:$USR_PATH/opt/[email protected]/bin
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
export PATH="$JAVA_HOME/bin:$PATH"
# qt5
export PATH=$PATH:$USR_PATH/opt/qt/bin
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/Applications" ] ;
then PATH="$HOME/Applications:$PATH"
fi
# fastolx autocomplete setup
# FASTOLX_AC_ZSH_SETUP_PATH=/Users/tg/Library/Caches/fast-olx-cli/autocomplete/zsh_setup && test -f $FASTOLX_AC_ZSH_SETUP_PATH && source $FASTOLX_AC_ZSH_SETUP_PATH;