mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
added domnikl theme
This commit is contained in:
parent
9e601c23f1
commit
4fbdfcb8d4
1 changed files with 18 additions and 0 deletions
18
themes/domnikl.zsh-theme
Normal file
18
themes/domnikl.zsh-theme
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Hey ho - let's go!
|
||||
|
||||
# git settings
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=" %{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[yellow]%}⚡%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"
|
||||
|
||||
# am I root? show me!
|
||||
IAM=""
|
||||
if [ "$UID" = "0" ]; then
|
||||
IAM="%{$fg[red]%}root|%{$reset_color%}"
|
||||
fi
|
||||
|
||||
PROMPT='$IAM%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} '
|
||||
|
||||
# ls colors, made with http://geoff.greer.fm/lscolors/
|
||||
export LSCOLORS='Gxdxhxhxbxegedabagacad'
|
||||
Loading…
Add table
Add a link
Reference in a new issue