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-02-11 17:40:33 +01:00
|
|
|
export PATH=$DOTFILES/zsh/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
|
|
|
|
fi
|
|
|
|
|
2018-12-14 09:53:41 +01:00
|
|
|
# Nvm path
|
2018-12-14 09:54:42 +01:00
|
|
|
if [ -d $HOME/.nvm ]; then
|
2018-12-14 10:29:41 +01:00
|
|
|
export NVM_DIR="$HOME/.nvm"
|
2019-02-11 17:40:33 +01:00
|
|
|
# Sourcing this is really slow
|
|
|
|
# source $NVM_DIR/nvm.sh
|
|
|
|
# So well just export the path
|
|
|
|
export PATH=$HOME/.nvm/versions/v11.4.0/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
|