blob: b9b5769ab5bed8efe9f50a3e3e15038232d569db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
[ -d $HOME/bin ] && export PATH=$HOME/bin:$PATH
[ -d $HOME/.local/bin ] && export PATH=$HOME/.local/bin:$PATH
if command -v go > /dev/null
then
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$(go env GOPATH)/bin
fi
if gem env user_gemhome &> /dev/null; then
export GEM_HOME="$(gem env user_gemhome)"
export PATH="$PATH:$GEM_HOME/bin"
fi
if command -v cargo > /dev/null; then
export PATH="$PATH:$HOME/.cargo/bin"
fi
|