summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-05-01 03:02:57 -0700
committerRobby Russell <robby@planetargon.com>2011-05-01 03:02:57 -0700
commit66b7fe1b27637feba61a4b47e113b18b69432bf2 (patch)
tree10f6a0dd78787212048c2646388042ded9181fe3
parenta525993f6b62f3c5acec0afd204ff517408b6f29 (diff)
parent6d899e23917ea9278b06f60df6b5cc4fcd5b60c3 (diff)
downloadzsh-66b7fe1b27637feba61a4b47e113b18b69432bf2.tar.gz
zsh-66b7fe1b27637feba61a4b47e113b18b69432bf2.tar.bz2
zsh-66b7fe1b27637feba61a4b47e113b18b69432bf2.zip
Merge pull request #314 from mattsacks/master.
Add Muse theme for 256 color terminals
-rw-r--r--themes/muse.zsh-theme30
1 files changed, 30 insertions, 0 deletions
diff --git a/themes/muse.zsh-theme b/themes/muse.zsh-theme
new file mode 100644
index 000000000..4bd8fb825
--- /dev/null
+++ b/themes/muse.zsh-theme
@@ -0,0 +1,30 @@
+#!/usr/bin/env zsh
+#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
+
+setopt promptsubst
+
+autoload -U add-zsh-hook
+
+PROMPT_SUCCESS_COLOR=$FG[117]
+PROMPT_FAILURE_COLOR=$FG[124]
+PROMPT_VCS_INFO_COLOR=$FG[242]
+PROMPT_PROMPT=$FG[077]
+GIT_DIRTY_COLOR=$FG[133]
+GIT_CLEAN_COLOR=$FG[118]
+GIT_PROMPT_INFO=$FG[012]
+
+PROMPT='%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
+
+#RPS1="${return_code}"
+
+ZSH_THEME_GIT_PROMPT_PREFIX="("
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}✘"
+ZSH_THEME_GIT_PROMPT_CLEAN=" %{$GIT_CLEAN_COLOR%}✔"
+
+ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%}"
+ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%}"