Created
December 18, 2019 20:27
-
-
Save h8every1/a8349f2a66792ba00116f2a25d103f33 to your computer and use it in GitHub Desktop.
oh-my-zsh theme with full path and simple git status
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
local ret_status="%(?:%{$fg_bold[green]%}%#> :%{$fg_bold[red]%}%#> )%{$reset_color%}" | |
NEWLINE=$'\n' | |
PROMPT='%{$fg_bold[green]%}[%{$fg[cyan]%}%d%{$fg_bold[green]%}]%{$reset_color%} $(git_prompt_info)${NEWLINE}${ret_status}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[red]%}(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}) %{$fg[yellow]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[red]%}) %{$fg[green]%}✔︎" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment