From 6f089f498f8a0d8fa35099be755419f58ab00699 Mon Sep 17 00:00:00 2001 From: Samuel Ortion Date: Sun, 16 Jul 2023 15:27:19 +0200 Subject: [PATCH] Liquidprompt --- .loadenv.sh | 17 ++++++++--------- .zshrc | 8 +++++--- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.loadenv.sh b/.loadenv.sh index e849320..6d8952f 100644 --- a/.loadenv.sh +++ b/.loadenv.sh @@ -6,20 +6,19 @@ export TEXMFHOME=~/.texmf # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! -__conda_setup="$('/home/sortion/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +__conda_setup="$('/home/sortion/.local/share/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)" if [ $? -eq 0 ]; then - eval "$__conda_setup" + eval "$__conda_setup" else - if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then - . "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" - else - export PATH="/home/sortion/.local/share/mambaforge/bin:$PATH" - fi + if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" ]; then + . "/home/sortion/.local/share/mambaforge/etc/profile.d/conda.sh" + else + export PATH="/home/sortion/.local/share/mambaforge/bin:$PATH" + fi fi unset __conda_setup if [ -f "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh" ]; then - . "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh" + . "/home/sortion/.local/share/mambaforge/etc/profile.d/mamba.sh" fi # <<< conda initialize <<< - diff --git a/.zshrc b/.zshrc index bd49e2a..160dfa7 100644 --- a/.zshrc +++ b/.zshrc @@ -2,16 +2,18 @@ autoload antigen source ~/.aliases -source ~/.dotfiles/antigen/antigen.zsh - source ~/.loadenv.sh +source ~/.dotfiles/antigen/antigen.zsh + antigen use oh-my-zsh antigen bundle nerdfonts # antigen theme ys +antigen bundle nojhan/liquidprompt + antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle zsh-users/zsh-completions @@ -20,7 +22,7 @@ antigen bundle git antigen apply -source <(/home/sortion/.cargo/bin/starship init zsh --print-full-init) +# source <(/home/sortion/.cargo/bin/starship init zsh --print-full-init) if [[ -x /usr/bin/fortune ]]; then fortune