Last active
May 5, 2023 09:03
-
-
Save matt-dray/d19d5df53983688cf15be9d5cdc0b870 to your computer and use it in GitHub Desktop.
Simple zsh config via Cassidoo (https://dev.to/cassidoo/customizing-my-zsh-prompt-3417)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment