mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 15:37:22 +00:00
zsh: disable async git prompt
This commit is contained in:
parent
33eff68d2c
commit
2671eabf7d
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ precmd() {
|
|||
local exit_code=$?
|
||||
|
||||
if [ $exit_code -ne 0 ]; then
|
||||
echo
|
||||
echo "┌╼ Exit code: $exit_code"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue