From 9ad1406cadab60385ee88e3fc22b60b45895ebb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Bra=CC=81s?= Date: Sat, 28 Jan 2012 11:00:07 +0000 Subject: [PATCH] Theme inspired by Zack Holman's .dotfiles prompt --- themes/abras.zsh-theme | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/themes/abras.zsh-theme b/themes/abras.zsh-theme index 84f270793..5b5ebf9e2 100644 --- a/themes/abras.zsh-theme +++ b/themes/abras.zsh-theme @@ -1,13 +1,14 @@ -local rvm_prompt='%{$fg[yellow]%}$(rvm-prompt)%{$reset_color%}' -local current_path='%{$terminfo[bold]$fg[cyan]%} %~%{$reset_color%}' -local git_info='%{$fg_bold[white]%}$(git_prompt_info)' +local current_path='%{$fg_bold[cyan]%}%1/%\/%{$reset_color%}' +local rvm_prompt='%{$fg_bold[yellow]%}$(rvm-prompt)%{$reset_color%}' +local git_info='$(git_prompt_info)' -ZSH_THEME_GIT_PROMPT_PREFIX="at %{$fg[yellow]%}" +ZSH_THEME_GIT_PROMPT_PREFIX="on %{$fg_bold[yellow]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[magenta]%} ✗" -#ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔" -#RPROMPT="%{$fg[white]%}%n@%{$fg[white]%}%m%{$reset_color%}" -PROMPT="${rvm_prompt} in${current_path} ${git_info} % %{$reset_color%} -%{$fg_bold[red]%}➜ %{$reset_color%}" +RPROMPT="%{$fg_bold[grey]%}%{$reset_color%}" +PROMPT=" +${rvm_prompt} in ${current_path} ${git_info} +› " \ No newline at end of file