Ensure git_super_status runs on precmd hook
This commit is contained in:
parent
a7bc3c3025
commit
7d5b7e0efc
@ -7,8 +7,11 @@ ZSH_AUTOSUGGEST_USE_ASYNC=true
|
|||||||
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
precmd() {
|
configPrompt() {
|
||||||
PROMPT="[%c] "
|
PROMPT="[%c] "
|
||||||
RPROMPT="$(git_super_status)"
|
RPROMPT="$(git_super_status)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[ -z $precmd_functions ]] && precmd_functions=()
|
||||||
|
precmd_functions=($precmd_functions configPrompt)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user