From 7aa24b8f59d6285dab2ce5c783d0389dcbd46515 Mon Sep 17 00:00:00 2001 From: Andrew vonderLuft Date: Wed, 7 Nov 2012 12:57:54 -0800 Subject: [PATCH] color tweaks, remove most special characters --- themes/avlux.zsh-theme | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/themes/avlux.zsh-theme b/themes/avlux.zsh-theme index c09cab14a..9e32afd37 100644 --- a/themes/avlux.zsh-theme +++ b/themes/avlux.zsh-theme @@ -1,4 +1,6 @@ -# based on gnzh, which is "based on bira", add svn support, show git status, color tweaks +# AVLUX theme, by Andrew vonderLuft, Nov. 2012 +# based on gnzh, which is "based on bira", add svn support, show git status, color tweaks, +# remove most special characters for broader terminal compatibility # load some modules autoload -U colors zsh/terminfo # Used in the colour alias below @@ -51,8 +53,8 @@ RPS1="${return_code}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}git:" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}✓%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$reset_color%}-%{$fg[red]%}x%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}-%{$fg[green]%}o%{$reset_color%}" ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}+%{$reset_color%}" ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[magenta]%}Δ%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}!%{$reset_color%}" @@ -62,6 +64,6 @@ ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}?%{$reset_color%}" ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg[yellow]%}svn:" ZSH_THEME_SVN_PROMPT_SUFFIX="%{$reset_color%}" -ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}" -ZSH_THEME_SVN_PROMPT_CLEAN="%{$fg[green]%}✓%{$reset_color%}" +ZSH_THEME_SVN_PROMPT_DIRTY="-%{$fg[red]%}x%{$reset_color%}" +ZSH_THEME_SVN_PROMPT_CLEAN="-%{$fg[green]%}o%{$reset_color%}"