From 6f100b2fb122549d750a44e24c9bc7314435a5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Bra=CC=81s?= Date: Thu, 12 Jan 2012 04:52:57 +0000 Subject: [PATCH 1/2] Add my theme :) --- themes/abras.zsh-theme | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 themes/abras.zsh-theme diff --git a/themes/abras.zsh-theme b/themes/abras.zsh-theme new file mode 100644 index 000000000..84f270793 --- /dev/null +++ b/themes/abras.zsh-theme @@ -0,0 +1,13 @@ +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)' + +ZSH_THEME_GIT_PROMPT_PREFIX="at %{$fg[yellow]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[magenta]%} ✗" +#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%}" + 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 2/2] 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