dotfiles/home/private_dot_config/zsh/zexists.d/cmd/anti-starship.zsh

11 lines
206 B
Bash
Raw Normal View History

2023-11-12 12:54:14 -06:00
# fall back prompt for tty
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$ '