diff --git a/root/.zshrc b/root/.zshrc index eff5c41..a3b21dd 100644 --- a/root/.zshrc +++ b/root/.zshrc @@ -21,6 +21,9 @@ clear export ZSH="/home/odd/.oh-my-zsh" ZSH_CUSTOM="/home/odd/dotfiles/zsh" +# https://github.com/ohmyzsh/ohmyzsh/issues/12328#issuecomment-2043492331 +zstyle ':omz:alpha:lib:git' async-prompt no + ZSH_THEME="custom-minimal" MODE_INDICATOR="%F{yellow}◼%f" VI_MODE_CURSOR_INSERT=2 diff --git a/zsh/themes/custom-minimal.zsh-theme b/zsh/themes/custom-minimal.zsh-theme index 50673a8..d9e5fa3 100644 --- a/zsh/themes/custom-minimal.zsh-theme +++ b/zsh/themes/custom-minimal.zsh-theme @@ -27,6 +27,7 @@ precmd() { local exit_code=$? if [ $exit_code -ne 0 ]; then + echo echo "┌╼ Exit code: $exit_code" fi }