mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
add jeffrey4l zsh theme
This commit is contained in:
parent
273728901e
commit
3499f41d23
1 changed files with 12 additions and 0 deletions
12
themes/jeffrey4l.zsh-theme
Normal file
12
themes/jeffrey4l.zsh-theme
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="magenta"; fi
|
||||||
|
|
||||||
|
local ret_status="%(?..%{$fg_bold[yellow]$bg_bold[red]%}{%?}%{$reset_color%})"
|
||||||
|
|
||||||
|
PROMPT='%{${ret_status}$fg_bold[$NCOLOR]%n$reset_color@$fg_bold[yellow]%m:$fg_bold[blue]%~%}
|
||||||
|
%{$fg_bold[yellow]%}➤ %{$reset_color%}'
|
||||||
|
RPROMPT='%{$fg[yellow]%}%p $(git_prompt_info)%{$reset_color%}'
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="[git:"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="*"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
Loading…
Add table
Add a link
Reference in a new issue