aboutsummaryrefslogtreecommitdiff
path: root/.path
blob: 0add3e809259f18fe2a16a20223b65166452dc41 (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 command -v gem &> /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