Last active
October 17, 2019 14:22
-
-
Save theratman/648082ebd944f68154d12ed76d3f02ac to your computer and use it in GitHub Desktop.
Better PROMPT (aka PS1) for zsh @ Mac OS X Catalina 10.15
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
# Better PROMPT (aka PS1) for zsh @ Mac OS X Catalina 10.15 | |
export PROMPT="╭─[%B%F{cyan}%n%f%F{red}@%f%F{magenta}%m%f:%b %F{green}%*%f] | |
╰─[%F{yellow}%~%f] | |
%(?.%F{green}.%F{red})%#%f " | |
export RPROMPT="%B%(?..%F{red}%? ↵%f)%b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment