Skip to content

Commit

Permalink
Add "muse_expanded" theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-nanney committed Apr 11, 2012
1 parent 1120f97 commit afee9d0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions themes/muse_expanded.zsh-theme
@@ -0,0 +1,36 @@
#!/usr/bin/env zsh

# Shamelessly copied from muse theme
# Adds username@host to prompt
# Uses 256 color mode

setopt promptsubst

autoload -U add-zsh-hook

USERNAME_COLOR=$FG[048]
AT_COLOR=$FG[208]
HOSTNAME_COLOR=$FG[027]
PROMPT_SUCCESS_COLOR=$FG[117]
PROMPT_FAILURE_COLOR=$FG[124]
PROMPT_VCS_INFO_COLOR=$FG[242]
PROMPT_PROMPT=$FG[077]

GIT_DIRTY_COLOR=$FG[202]
GIT_CLEAN_COLOR=$FG[118]
GIT_PROMPT_INFO=$FG[012]

#PROMPT='%{$USERNAME_COLOR%}%n%{$reset_color%}%{$AT_COLOR%}@%{$reset_color%}%{$HOSTNAME_COLOR%}%m%{$reset_color%}:%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}➜%{$reset_color%} '
PROMPT='%{$USERNAME_COLOR%}%n%{$reset_color%}%{$AT_COLOR%}@%{$reset_color%}%{$HOSTNAME_COLOR%}%m%{$reset_color%}:%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}➤%{$reset_color%} '

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%}"

0 comments on commit afee9d0

Please sign in to comment.