Created
October 30, 2023 23:56
-
-
Save sepbot/9499df7906c2b15dc07595e9994f659a to your computer and use it in GitHub Desktop.
roomy zsh prompt
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
PROMPT=$'\n' | |
PROMPT+=' %{$fg[yellow]%}%n@%m%{$reset_color%}' | |
PROMPT+=' %{$fg[cyan]%}%~%{$reset_color%} $(git_prompt_info)' | |
PROMPT+=$'\n'" " | |
PROMPT+="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
PROMPT+="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment