mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 3b53a059a4 into 5667161d49
This commit is contained in:
commit
4f4aa6639f
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