Created
July 29, 2024 18:20
-
-
Save uxjp/580a9bd99478d8b1b7a4526b7d821d38 to your computer and use it in GitHub Desktop.
zsh prompt config
This file contains hidden or 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 | |
| PS1='%F{green}@%n%f %F{blue}%1d%f %F{cyan}${vcs_info_msg_0_}%f | |
| $ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment