Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Submit my theme #1112

Closed
wants to merge 7 commits into from

2 participants

@carlcarl

Hello,
I want to submit my theme: carlcarl.zsh-theme.
I made this because I can't find a theme that include host name, time, rich git status icons together.

This theme is modified using muse.zsh-theme and include some elements in other themes.
The change I made:
1. Add host name.
2. Add time at the line end.
3. Change a icon which is better for my font.
4. Change some color setting.

Here is my screenshot: http://i.minus.com/ibqMoJV9k28Lfs.png

Thank you.

@Larandar

Cool theme !

@carlcarl carlcarl closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 6, 2012
  1. @carlcarl
Commits on May 16, 2012
  1. @carlcarl
Commits on Jun 28, 2012
  1. @carlcarl

    Modify style

    carlcarl authored
Commits on Sep 14, 2012
  1. @carlcarl

    update carlcarl theme

    carlcarl authored
Commits on Sep 16, 2012
  1. @carlcarl

    Add powerline theme

    carlcarl authored
Commits on Nov 23, 2012
  1. @carlcarl

    Use light color

    carlcarl authored
Commits on Feb 19, 2013
  1. @carlcarl

    Update theme

    carlcarl authored
This page is out of date. Refresh to see the latest.
Showing with 72 additions and 0 deletions.
  1. +35 −0 themes/carlcarl.zsh-theme
  2. +37 −0 themes/powerline.zsh-theme
View
35 themes/carlcarl.zsh-theme
@@ -0,0 +1,35 @@
+#!/usr/bin/env zsh
+#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
+
+setopt promptsubst
+
+autoload -U add-zsh-hook
+
+HOST_PROMPT_="%B%{$FG[197]%}@$HOST %b"
+
+PROMPT_SUCCESS_COLOR=$FG[077]
+PROMPT_FAILURE_COLOR=$FG[124]
+PROMPT_VCS_INFO_COLOR=$FG[242]
+PROMPT_PROMPT=$FG[077]
+GIT_DIRTY_COLOR=$FG[197]
+GIT_CLEAN_COLOR=$FG[118]
+GIT_PROMPT_INFO=$FG[197]
+
+PROMPT='$HOST_PROMPT_%B%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %B%{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status)%b %{$reset_color%}%{$PROMPT_PROMPT%}➭ %{$reset_color%} '
+
+RPROMPT='[%*][%D{%Y-%m-%d}]'
+#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%}"
+
+
View
37 themes/powerline.zsh-theme
@@ -0,0 +1,37 @@
+# FreeAgent puts the powerline style in zsh !
+
+if [ "$POWERLINE_RIGHT_B" = "" ]; then
+ POWERLINE_RIGHT_B=%D{%H:%M:%S}
+fi
+
+if [ "$POWERLINE_RIGHT_A" = "" ]; then
+ POWERLINE_RIGHT_A=%D{%Y-%m-%d}
+fi
+
+POWERLINE_COLOR_BG_GRAY=%K{240}
+POWERLINE_COLOR_BG_LIGHT_GRAY=%K{240}
+POWERLINE_COLOR_BG_WHITE=%K{255}
+
+POWERLINE_COLOR_FG_GRAY=%F{240}
+POWERLINE_COLOR_FG_LIGHT_GRAY=%F{240}
+POWERLINE_COLOR_FG_WHITE=%F{255}
+
+GIT_DIRTY_COLOR=%F{133}
+GIT_CLEAN_COLOR=%F{118}
+GIT_PROMPT_INFO=%F{012}
+
+ZSH_THEME_GIT_PROMPT_PREFIX=" \u2b60 "
+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="%F{082}✚%f"
+ZSH_THEME_GIT_PROMPT_MODIFIED="%F{166}✹%f"
+ZSH_THEME_GIT_PROMPT_DELETED="%F{160}✖%f"
+ZSH_THEME_GIT_PROMPT_RENAMED="%F{220]➜%f"
+ZSH_THEME_GIT_PROMPT_UNMERGED="%F{082]═%f"
+ZSH_THEME_GIT_PROMPT_UNTRACKED="%F{190]✭%f"
+
+PROMPT="%K{237}%F{250} %n %k%f%F{244}%K{237}"$'\u2b81'"%k%f%F{250}%K{237} %1~"$'$(git_prompt_info)'" %k%f%F{237}%K{236}"$'\u2b80'" %k%f%F{244}%K{236} $ %k%f%F{236}"$'\u2b80'"%f "
+
+RPROMPT=$POWERLINE_COLOR_FG_WHITE$'\u2b82'"%f$POWERLINE_COLOR_BG_WHITE $POWERLINE_COLOR_FG_GRAY$POWERLINE_RIGHT_B "$'\u2b82'"%f%k$POWERLINE_COLOR_BG_GRAY$POWERLINE_COLOR_FG_WHITE $POWERLINE_RIGHT_A %f%k"
Something went wrong with that request. Please try again.