[zsh] git status in prompt
This commit is contained in:
@@ -9,3 +9,7 @@ fi
|
|||||||
setopt appendhistory # Append history to the history file (no overwriting)
|
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 incappendhistory # Immediately append to the history file, not just when a term is killed
|
||||||
setopt histignoredups
|
setopt histignoredups
|
||||||
|
|
||||||
|
source ~/.dotfiles/git/git-prompt.sh
|
||||||
|
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
|
||||||
|
source ~/.zshrc_local
|
||||||
|
|||||||
Reference in New Issue
Block a user