12 lines
215 B
Bash
12 lines
215 B
Bash
|
echo "no starship = dumber prompt"
|
||
|
|
||
|
autoload -Uz vcs_info
|
||
|
precmd() {
|
||
|
vcs_info
|
||
|
}
|
||
|
|
||
|
zstyle ':vcs_info:git:*' formats '%b '
|
||
|
|
||
|
setopt PROMPT_SUBST
|
||
|
PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
|