mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Coverslide custom theme. Only tested on linux
This commit is contained in:
parent
9e601c23f1
commit
9ff6d37661
1 changed files with 35 additions and 0 deletions
35
themes/coverslide.zsh-theme
Normal file
35
themes/coverslide.zsh-theme
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
if [[ -n `which dircolors` ]];then
|
||||
eval `dircolors -b`
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
fi
|
||||
|
||||
plugins(){
|
||||
oUT=""
|
||||
|
||||
if [ -n "`which git_prompt_info`" ] ; then
|
||||
OUT=`git_prompt_info`
|
||||
fi
|
||||
|
||||
echo " $OUT"
|
||||
}
|
||||
|
||||
screen_window(){
|
||||
if [ -n "$WINDOW" ]; then
|
||||
echo "%{$reset_color%}%{$fg_bold[grey]%}/ %{$fg[red]%}$WINDOW%{$reset_color%} "
|
||||
fi
|
||||
}
|
||||
|
||||
PROMPT='%{$fg_bold[grey]%}[%{$reset_color%}%{$fg[cyan]%}%~%{$fg_bold[grey]%}] %{$fg_bold[grey]%}$ %{$reset_color%}'
|
||||
RPROMPT='%{$reset_color%}`plugins` %{$fg_bold[grey]%}[%f%{$fg_bold[blue]%}%n%{$reset_color%}%{$fg[green]%}@%{$fg[cyan]%}%m %{$reset_color%}%{$fg[green]%}+$SHLVL `screen_window`%{$fg_bold[grey]%}]%{$reset_color%} %{$fg_bold[grey]%}[%{$reset_color%}%{$fg[cyan]%}%T%{$fg_bold[grey]%}]%{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[white]%}("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="$(git_prompt_status)%{$fg_bold[white]%})%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✖"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg_bold[green]%}✔"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[cyan]%}✈"
|
||||
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[yellow]%}✭"
|
||||
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg_bold[red]%}✗"
|
||||
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[blue]%}➦"
|
||||
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[magenta]%}✂"
|
||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[grey]%}✱"
|
||||
Loading…
Add table
Add a link
Reference in a new issue