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/:/home/$USER/.local/share/coursier/bin/:/opt/quarto/bin/:/home/$USER/Documents/course/tools/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 eval $(thefuck --alias) # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/home/$USER/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then . "/home/$USER/.local/share/mambaforge/etc/profile.d/conda.sh" else export PATH="/home/$USER/.local/share/mambaforge/bin:$PATH" fi fi unset __conda_setup if [ -f "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then . "/home/$USER/.local/share/mambaforge/etc/profile.d/mamba.sh" fi # <<< conda initialize <<< # Init Guix if command -v guix &> /dev/null then GUIX_PROFILE="$HOME/.config/guix/current" . "$GUIX_PROFILE/etc/profile" fi