From 102f6eb1f15ddcd7baae4d67993e8b86b3ad9d23 Mon Sep 17 00:00:00 2001 From: gmason Date: Wed, 4 Apr 2012 15:33:49 -0400 Subject: [PATCH 1/3] theme based on bira, but cleaned up, has current time and no ruby stuff --- themes/gmason.zsh-theme | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 themes/gmason.zsh-theme diff --git a/themes/gmason.zsh-theme b/themes/gmason.zsh-theme new file mode 100644 index 000000000..8bc3f6d0f --- /dev/null +++ b/themes/gmason.zsh-theme @@ -0,0 +1,15 @@ +local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" + +local userhostcolor='green' + +local time='%{$fg_bold[cyan]%}%T%{$reset_color%}' +local user_host='%{$terminfo[bold]$fg[$userhostcolor]%}%n%{$fg[magenta]%}@$reset_color$fg[$userhostcolor]%}%m%' +local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}' +local git_branch='$(git_prompt_info)%{$reset_color%}' + +PROMPT="${time} ${user_host} ${current_dir} ${git_branch} +%{$fg_bold[yellow]%}%B$%b %{$reset_color%}" +RPS1="${return_code}" + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" +ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" From cba44e796fabf911c0cb81f13d5cf908bcff1f8a Mon Sep 17 00:00:00 2001 From: gmason Date: Fri, 6 Apr 2012 12:28:31 -0400 Subject: [PATCH 2/3] fixing messed up bold formatting --- themes/gmason.zsh-theme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/gmason.zsh-theme b/themes/gmason.zsh-theme index 8bc3f6d0f..5fb7192e7 100644 --- a/themes/gmason.zsh-theme +++ b/themes/gmason.zsh-theme @@ -2,9 +2,9 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" local userhostcolor='green' -local time='%{$fg_bold[cyan]%}%T%{$reset_color%}' -local user_host='%{$terminfo[bold]$fg[$userhostcolor]%}%n%{$fg[magenta]%}@$reset_color$fg[$userhostcolor]%}%m%' -local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}' +local time='%{$fg[cyan]%}%T%{$reset_color%}' +local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%' +local current_dir='%{$fg_bold[blue]%} %~%{$reset_color%}' local git_branch='$(git_prompt_info)%{$reset_color%}' PROMPT="${time} ${user_host} ${current_dir} ${git_branch} From 6005d839c19262726f89ce8432c1a171292fa800 Mon Sep 17 00:00:00 2001 From: gmason Date: Fri, 6 Apr 2012 12:36:41 -0400 Subject: [PATCH 3/3] update bolding --- themes/gmason.zsh-theme | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/gmason.zsh-theme b/themes/gmason.zsh-theme index 5fb7192e7..63860d093 100644 --- a/themes/gmason.zsh-theme +++ b/themes/gmason.zsh-theme @@ -3,13 +3,13 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" local userhostcolor='green' local time='%{$fg[cyan]%}%T%{$reset_color%}' -local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%' -local current_dir='%{$fg_bold[blue]%} %~%{$reset_color%}' +local user_host='%{$fg_bold[$userhostcolor]%}%n%{$fg[magenta]%}@%{$reset_color$fg_bold[$userhostcolor]%}%m%{$reset_color%}' +local current_dir='%{$fg[blue]%}%~%{$reset_color%}' local git_branch='$(git_prompt_info)%{$reset_color%}' PROMPT="${time} ${user_host} ${current_dir} ${git_branch} %{$fg_bold[yellow]%}%B$%b %{$reset_color%}" RPS1="${return_code}" -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}‹" ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"