mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Added the first version of my theme
This commit is contained in:
parent
b34aee7f76
commit
ade6021717
1 changed files with 17 additions and 0 deletions
17
themes/matto1990.zsh-theme
Normal file
17
themes/matto1990.zsh-theme
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# ZSH Theme - Preview: https://dl.dropboxusercontent.com/u/6740094/oh-my-zsh-2013-05-02.png
|
||||
|
||||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
|
||||
PROMPT='%{$fg[red]%}%2~%{$reset_color%} \
|
||||
$(git_prompt_info)\
|
||||
%{$fg[blue]%}%(!.#.»)%{$reset_color%} '
|
||||
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
||||
RPS1='${return_code}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="⚡"
|
||||
|
||||
RPROMPT='%{$fg[green]%}%*%{$reset_color%}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue