2017-10-20 10:24:40 +02:00
|
|
|
# The base path
|
|
|
|
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH
|
|
|
|
|
|
|
|
# The scripts path
|
2019-05-03 10:00:51 +02:00
|
|
|
export PATH=$DOTFILES/bin:$PATH
|
2017-10-20 10:24:40 +02:00
|
|
|
if [ -d "$HOME/.scripts" ]; then
|
|
|
|
export PATH=$HOME/.scripts:$PATH
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Rust path
|
|
|
|
if [ -d $HOME/.cargo ]; then
|
|
|
|
export PATH=$HOME/.cargo/bin:$PATH
|
2019-03-19 18:05:22 +01:00
|
|
|
# Use sccache if available
|
|
|
|
command -v sccache > /dev/null 2>&1
|
|
|
|
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
export RUSTC_WRAPPER=sccache
|
|
|
|
fi
|
2017-10-20 10:24:40 +02:00
|
|
|
fi
|
|
|
|
|
2019-04-26 14:56:39 +02:00
|
|
|
# Wasmer path
|
|
|
|
if [ -d $HOME/.wasmer ]; then
|
|
|
|
export WASMER_DIR="$HOME/.wasmer"
|
|
|
|
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh" # This loads wasmer
|
|
|
|
fi
|
|
|
|
|
2019-03-15 15:32:54 +01:00
|
|
|
# Node path
|
|
|
|
if [ -d $HOME/.npmbin ]; then
|
|
|
|
export PATH=$HOME/.npmbin/bin:$PATH
|
2018-12-14 09:53:41 +01:00
|
|
|
fi
|
|
|
|
|
2017-10-20 10:24:40 +02:00
|
|
|
# LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared
|
|
|
|
# to delete it
|
|
|
|
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
# Texmf home: hidden directory
|
|
|
|
export TEXMFHOME=$HOME/.texmf
|
|
|
|
|
|
|
|
# My git directory: where I want to clone all my repos
|
|
|
|
export GCLONE_PATH=~/git
|