From aafc5ac043455c67c8e8318ae5d3f50145ca368e Mon Sep 17 00:00:00 2001 From: HaraldNordgren Date: Sun, 3 Apr 2016 16:15:09 +0200 Subject: [PATCH] Modified Peepcode to make it cleaner --- themes/peepcode.zsh-theme | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/themes/peepcode.zsh-theme b/themes/peepcode.zsh-theme index 6a6067410..1db6b8666 100644 --- a/themes/peepcode.zsh-theme +++ b/themes/peepcode.zsh-theme @@ -35,11 +35,13 @@ git_prompt() { fi } -local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})" +local psign="%(?,%%,%{$fg[red]%}%%%{$reset_color%})" +local user="%{$bg[blue]%}%n%{$reset_color%}" +local host="%{$bg[blue]%}@%m%{$reset_color%}" PROMPT=' -%~ -${smiley} %{$reset_color%}' +${user}${host} %3~ + ${psign} ' if [[ -d ~/.rvm ]]; then rvm_prompt='$(~/.rvm/bin/rvm-prompt)'