mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
update cadusk theme
This commit is contained in:
parent
53838bb9d1
commit
9e29eb0645
1 changed files with 6 additions and 8 deletions
|
|
@ -7,15 +7,15 @@ PROMPT2='%{$fg[white]%}$%{$reset_color%} '
|
||||||
|
|
||||||
RPROMPT='%{$(echotc UP 1)%} $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
|
RPROMPT='%{$(echotc UP 1)%} $(git_prompt_status) ${_return_status}%{$(echotc DO 1)%}'
|
||||||
|
|
||||||
local _current_dir="%F{208}%3~%{$reset_color%} "
|
local _current_dir="%F{208}%3~%f%{$reset_color%}"
|
||||||
local _return_status="%{$fg[red]%}%(?..⍉)%{$reset_color%}"
|
local _return_status="%{$fg[red]%}%(?..⍉)%{$reset_color%}"
|
||||||
local _hist_no="%{$fg[grey]%}%h%{$reset_color%}"
|
local _hist_no="%{$fg_bold[red]%}%h%{$reset_color%}"
|
||||||
|
|
||||||
function _user_host() {
|
function _user_host() {
|
||||||
me="%{$fg_bold[white]%}%n"
|
me="%{$fg_bold[white]%}%n"
|
||||||
|
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
if [[ -n $SSH_CONNECTION ]]; then
|
||||||
me="$me%{$fg_bold[cyan]%}@%m"
|
me="$me%{$fg_bold[black]%}@%m"
|
||||||
fi
|
fi
|
||||||
echo "$me%b%{$reset_color%}"
|
echo "$me%b%{$reset_color%}"
|
||||||
}
|
}
|
||||||
|
|
@ -26,15 +26,13 @@ else
|
||||||
CARETCOLOR="white"
|
CARETCOLOR="white"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MODE_INDICATOR="%{$fg_bold[yellow]%}❮%{$reset_color%}%{$fg[yellow]%}❮❮%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[black]%}["
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[black]%}]%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}(%{$fg_bold[yellow]%}"
|
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})"
|
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
# LS colors, made with http://geoff.greer.fm/lscolors/
|
# LS colors, made with http://geoff.greer.fm/lscolors/
|
||||||
export LSCOLORS="exfxcxdxbxegedabagacad"
|
export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||||
export LS_COLORS='di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
|
export LS_COLORS='di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
|
||||||
export GREP_COLOR='1;33'
|
export GREP_COLOR='1;33'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue