24 lines
886 B
Bash
24 lines
886 B
Bash
export PATH="/home/$USER/.luarocks/bin:/home/$USER/.julia/bin:/home/$USER/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/$USER/.local/bin:/home/$USER/bin:/home/$USER/Documents/cours/tools/bin/:/usr/games/:/home/$USER/.config/emacs/bin/:/usr/local/cuda/bin//"
|
|
|
|
# export EDITOR=vim
|
|
export ALTERNATE_EDITOR=""
|
|
export EDITOR="emacsclient -t" # $EDITOR opens in terminal
|
|
export VISUAL="emacsclient -fs -c -a emacs" # $VISUAL opens in GUI mode
|
|
|
|
# nvm
|
|
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
export TEXMFHOME=~/.texmf
|
|
|
|
# Change ls colors using vivid if installed
|
|
if type vivid >/dev/null; then
|
|
export LS_COLORS="$(vivid -m 8-bit generate one-dark)"
|
|
fi
|
|
|
|
if type thefuck > /dev/null; then
|
|
eval $(thefuck --alias)
|
|
fi
|
|
|
|
|