mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
+ added pixelplastic theme that uses the scm plugin
This commit is contained in:
parent
127098fc50
commit
e9773574c6
2 changed files with 14 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ function scm_prompt_char() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function scm_prompt_info_for_git() { git_prompt_info }
|
function scm_prompt_info_for_git() { echo "$(git_prompt_info)$(git_prompt_status)" }
|
||||||
function scm_prompt_info_for_hg() {}
|
function scm_prompt_info_for_hg() {}
|
||||||
function scm_prompt_info_for_svn() {}
|
function scm_prompt_info_for_svn() {}
|
||||||
|
|
||||||
|
|
|
||||||
13
themes/pixelplastic.zsh-theme
Normal file
13
themes/pixelplastic.zsh-theme
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# see http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html for color codes
|
||||||
|
PROMPT_PREFIX="$(xterm_color 243 '%n')$(xterm_color 240 '@')$(xterm_color 238 '%m')"
|
||||||
|
|
||||||
|
PROMPT='$PROMPT_PREFIX $(xterm_color 76 "${PWD/#$HOME/~}") $SCM_PROMPT_INFO
|
||||||
|
$(scm_prompt_char)> '
|
||||||
|
|
||||||
|
RPROMPT='$RPROMPT_SUFFIX'
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="on $(xterm_color_open 220)"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="$(xterm_color_reset)"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY=" $(xterm_color 196 '(!)')"
|
||||||
|
ZSH_THEME_GIT_PROMPT_UNTRACKED=" $(xterm_color 33 '(+)')"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
Loading…
Add table
Add a link
Reference in a new issue