ohmyzsh/themes/yano.zsh-theme
Michael Yanovich 225324dbed updated my prompt
2013-02-25 11:29:26 -05:00

6 lines
454 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

if [ "$(whoami)" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
PROMPT='%{$fg[green]%}%B[%*]%{$reset_color%} %{$fg_bold[cyan]%}%B%n%{${fg_bold[blue]}%}::%{$reset_color%}%{$fg[yellow]%}%B%m%{$reset_color%} %{$fg_no_bold[magenta]%}➜ %{$reset_color%} %{${fg[green]}%}%B%3~ $(git_prompt_info)%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX=" %{$reset_color%}"