[zsh] git status in prompt

This commit is contained in:
2024-07-04 21:44:40 +03:00
parent 835fad3214
commit 2ae741def7

View File

@@ -9,3 +9,7 @@ fi
setopt appendhistory # Append history to the history file (no overwriting)
setopt incappendhistory # Immediately append to the history file, not just when a term is killed
setopt histignoredups
source ~/.dotfiles/git/git-prompt.sh
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
source ~/.zshrc_local