Created
August 11, 2016 06:16
-
-
Save YOzaz/608eea5dcaefd0ef6bc4160f18b83a9e to your computer and use it in GitHub Desktop.
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 return_code="%(?..%{$FG[209]%}%? %{$reset_color%})" | |
PROMPT='%{$FG[110]%}{ %c } \ | |
%{$FG[150]%}$( git rev-parse --abbrev-ref HEAD 2> /dev/null || echo "" )%{$reset_color%} \ | |
%{$FG[209]%}%(!.#.»)%{$reset_color%} ' | |
PROMPT2='%{$FG[209]%}\ %{$reset_color%}' | |
RPS1='%{$FG[223]%}%n@%m: %{$reset_color%}\ | |
%{$FG[110]%}%~%{$reset_color%} ${return_code}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}:: %{$fg[yellow]%}(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[209]%}*%{$fg[yellow]%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment