mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Create roc.zsh-theme
added theme roc.zsh-theme.
This commit is contained in:
parent
c9e7129341
commit
4c2642e83c
1 changed files with 24 additions and 0 deletions
24
themes/roc.zsh-theme
Normal file
24
themes/roc.zsh-theme
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
# Git Info
|
||||||
|
local git_info='$(git_prompt_info)'
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}on%{$reset_color%} git:%{$fg[cyan]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}x"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}o"
|
||||||
|
|
||||||
|
: <<'FORMAT'
|
||||||
|
Prompt format:
|
||||||
|
|
||||||
|
PRIVILEGES USER @ MACHINE in DIRECTORY on git:BRANCH STATE [TIME]
|
||||||
|
COMMAND
|
||||||
|
|
||||||
|
|
||||||
|
FORMAT
|
||||||
|
|
||||||
|
PROMPT="%{$fg_bold[cyan]%}♨ %{$reset_color%}\
|
||||||
|
%{$fg[cyan]%}%n\
|
||||||
|
%{$fg[white]%}@\
|
||||||
|
%{$fg[green]%}%m \
|
||||||
|
%{$fg[white]%}in \
|
||||||
|
%{$fg_bold[yellow]%}%~%{$reset_color%}\
|
||||||
|
${git_info}
|
||||||
|
%{$fg[yellow]%}➜ %{$reset_color%}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue