Created
July 28, 2017 08:49
-
-
Save mertvetsky/774f54f1ccb20915da62da57a779f49d to your computer and use it in GitHub Desktop.
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
# ~/.oh-my-zsh/custom/themes/mert.zsh-theme | |
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi | |
PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}@%{$fg[cyan]%}%m\ | |
%{$reset_color%}:%{$fg[magenta]%}%~\ | |
$(git_prompt_info) \ | |
%{$fg[cyan]%}%(!.#.%%)%{$reset_color%} ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}(" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%})%{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment