42 lines
1.5 KiB
Bash
42 lines
1.5 KiB
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
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
__conda_setup="$('/home/sortion/.local/share/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
if [ $? -eq 0 ]; then
|
|
eval "$__conda_setup"
|
|
else
|
|
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh" ]; then
|
|
. "/home/sortion/.local/share/miniforge3/etc/profile.d/conda.sh"
|
|
else
|
|
export PATH="/home/sortion/.local/share/miniforge3/bin:$PATH"
|
|
fi
|
|
fi
|
|
unset __conda_setup
|
|
|
|
if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh" ]; then
|
|
. "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh"
|
|
fi
|
|
# <<< conda initialize <<<
|
|
|