Skip to content
This repository

Adds new theme based on muse.zsh-theme #1080

Closed
wants to merge 1 commit into from

3 participants

Joshua Adrien Dudouit-Exposito Robby Russell
Joshua

Inserts user@host at left size of prompt.

Adrien Dudouit-Exposito

Have you some screenshot ?

Joshua

Sorry for the long delay; just returned from a trip. Here's your picture!

twomuses.zsh-theme screenshot

Adrien Dudouit-Exposito

Cool color scheme, and cool prompt. I like it!

Sent via Hubroid

Robby Russell

Thanks for sending this across. However, at this point in time... I am not going to be accepting any new themes for a while. My aim is to work out a new solution for how to manage user theme contributions better in the future, but am thinking that 100+ is already too many for folks to browse/select from. :-)

Be sure to follow @ohmyzsh on twitter ( http://twitter.com/ohmyzsh ) to stay tuned for when we might have a good location for such themes.

ProTip: If you have a custom theme and want to use it... you might check out this (poorly documented) feature from pull-request #1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 19, 2012
Joshua jkeroes Adds user@host to muse.zsh-theme in quiet colors 4b02f08
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 40 additions and 0 deletions. Show diff stats Hide diff stats

  1. +40 0 themes/twomuses.zsh-theme
40 themes/twomuses.zsh-theme
... ... @@ -0,0 +1,40 @@
  1 +#!/usr/bin/env zsh
  2 +#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
  3 +#
  4 +# Joshua Keroes 2012 - Adds user@host to muse.zsh-theme
  5 +
  6 +setopt promptsubst
  7 +
  8 +autoload -U add-zsh-hook
  9 +# autoload -U colors && colors
  10 +zle_highlight=( default:bold )
  11 +
  12 +USER_COLOR=$FG[067]
  13 +HOST_COLOR=$FG[244]
  14 +DIR_COLOR=$FG[060]
  15 +PROMPT_COLOR=$FG[077]
  16 +
  17 +PROMPT_SUCCESS_COLOR=$FG[117]
  18 +PROMPT_FAILURE_COLOR=$FG[124]
  19 +PROMPT_VCS_INFO_COLOR=$FG[242]
  20 +GIT_DIRTY_COLOR=$FG[133]
  21 +GIT_CLEAN_COLOR=$FG[118]
  22 +GIT_PROMPT_INFO=$FG[012]
  23 +GIT_SHA_COLOR=$FG[117]
  24 +
  25 +#RPS1="${return_code}"
  26 +
  27 +ZSH_THEME_GIT_PROMPT_PREFIX="("
  28 +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$GIT_DIRTY_COLOR%}✘"
  29 +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$GIT_CLEAN_COLOR%}✔"
  30 +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$GIT_PROMPT_INFO%})"
  31 +
  32 +ZSH_THEME_GIT_PROMPT_ADDED="%{$FG[082]%}✚%{$reset_color%}"
  33 +ZSH_THEME_GIT_PROMPT_MODIFIED="%{$FG[166]%}✹%{$reset_color%}"
  34 +ZSH_THEME_GIT_PROMPT_DELETED="%{$FG[160]%}✖%{$reset_color%}"
  35 +ZSH_THEME_GIT_PROMPT_RENAMED="%{$FG[220]%}➜%{$reset_color%}"
  36 +ZSH_THEME_GIT_PROMPT_UNMERGED="%{$FG[082]%}═%{$reset_color%}"
  37 +ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$FG[190]%}✭%{$reset_color%}"
  38 +
  39 +PROMPT='%{$USER_COLOR%}%n%{$reset_color%}@%{$HOST_COLOR%}%m%{$WHITE%}:%{$DIR_COLOR%}%~%{$reset_color%}%{$PROMPT_COLOR%} ᐅ %{$reset_color%}'
  40 +RPROMPT='%{$GIT_SHA_COLOR%}$(git_prompt_short_sha) %{$GIT_PROMPT_INFO%}$(git_prompt_info) %{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}'

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.