Last active
April 7, 2020 00:33
-
-
Save aslilac/895df7afd0657c6b522c078335637d50 to your computer and use it in GitHub Desktop.
Better oh-my-zsh default theme
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
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[magenta]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%~%{$reset_color%}$(git_prompt_info) ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" | |
ZSH_THEME_GIT_PROMPT_DIRTY="$ZSH_THEME_GIT_PROMPT_CLEAN %{$fg[magenta]%}✗" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prints the full directory path rather than just the name. Other than that small change, it's an exact copy of the default 'robbyrussell' theme.
Edit: The git display is different now as well