This commit is contained in:
Evan Hahn 2017-05-02 02:21:02 +00:00 committed by GitHub
commit 4f4aa6639f

15
themes/evanhahn.zsh-theme Normal file
View file

@ -0,0 +1,15 @@
# Evan Hahn's zsh theme
# evanhahn.com
# licensed under the Unlicense
if [ "$(whoami)" = "root" ]; then
PROMPT='
%{$BG[161]%}%{$fg[white]%} %~ %E%{$reset_color%}
%{$FG[161]%}▶%{$reset_color%} '
else
PROMPT='
%{$BG[233]%}%{$fg[red]%} %~ %E%{$reset_color%}
%{$FG[240]%}▶%{$reset_color%} '
fi
RPROMPT='%{$FG[240]%}%t%{$reset_color%}'