mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add the Evan Hahn theme
This commit is contained in:
parent
86a889ea08
commit
3b53a059a4
1 changed files with 15 additions and 0 deletions
15
themes/evanhahn.zsh-theme
Normal file
15
themes/evanhahn.zsh-theme
Normal 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%}'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue