blog/a-guide-to-customizing-the-zsh-shell-prompt #6
Replies: 2 comments 4 replies
-
This seems like a great tutorial but I get lost when you say to "add the following to your Zsh config". What does that mean and how do I do that? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Great article! In my case, I had to add autoload -Uz vcs_info
zstyle ':vcs_info:git:*' formats ' (%b)'
precmd () { vcs_info }
setopt prompt_subst
PS1='%F{yellow}%1~%f%F{cyan}$vcs_info_msg_0_%f $ ' |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
blog/a-guide-to-customizing-the-zsh-shell-prompt
Stay current in the evolving world of web development.
https://voracious.dev/blog/a-guide-to-customizing-the-zsh-shell-prompt
Beta Was this translation helpful? Give feedback.
All reactions