From 08d708d1979eeb33e41c71e39bf50020082d21f6 Mon Sep 17 00:00:00 2001 From: Akelge Date: Fri, 28 Nov 2014 10:33:20 +0000 Subject: [PATCH] Chanve VCS prompt --- zsh/zsh.d/prompts/prompt_nice_setup | 4 ++-- zsh/zsh.d/zshfunctions/repo_char | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/zsh.d/prompts/prompt_nice_setup b/zsh/zsh.d/prompts/prompt_nice_setup index 0942b44..fa0f71f 100644 --- a/zsh/zsh.d/prompts/prompt_nice_setup +++ b/zsh/zsh.d/prompts/prompt_nice_setup @@ -4,8 +4,8 @@ if `fancyTerm`; then I="%m::%." # L="$FX[bold]$FX[italic]$BG[111]$FG[239]@%m::%2~ $BG[000] # $FG[228]%#$FX[reset] " -L='$FX[bold]$FX[italic]$BG[062]@%m::%2~$(repo_char)$BG[000] -$FG[220]%#$FX[reset] ' +L='$FX[bold]$FX[italic]$BG[062]@%m::%2~$BG[000] +$(repo_char)$FG[220]%#$FX[reset] ' PS1="%{]2;$W%}%{]1;$I%}$L" unset W I L diff --git a/zsh/zsh.d/zshfunctions/repo_char b/zsh/zsh.d/zshfunctions/repo_char index b5bd476..9a7d04d 100644 --- a/zsh/zsh.d/zshfunctions/repo_char +++ b/zsh/zsh.d/zshfunctions/repo_char @@ -2,6 +2,6 @@ function repo_char { # git branch > /dev/null 2> /dev/null && echo '±' && return # svn info > /dev/null 2> /dev/null && echo '\u03a3' && return # echo '\u25cb' - git branch > /dev/null 2> /dev/null && echo ' «git' && return - svn info > /dev/null 2> /dev/null && echo ' «svn' && return + git branch > /dev/null 2> /dev/null && echo 'git:' && return + svn info > /dev/null 2> /dev/null && echo 'svn:' && return }