aboutsummaryrefslogtreecommitdiff
path: root/ben-prose.zsh-theme
diff options
context:
space:
mode:
authorBen Beltran <ben@freshout.us>2013-04-23 08:46:40 -0500
committerBen Beltran <ben@freshout.us>2013-04-23 08:46:40 -0500
commit5fab93bf6c853f0f37d30f9cb91a0760d3e006cb (patch)
treef1d69f20fa36b2998ee9774074c6f5d0b10a4776 /ben-prose.zsh-theme
parent400b7c363c615dca6674a0381122d35f0949b6e6 (diff)
parent577b791c99b07471ec27e1f9c09e756a6f1da0cd (diff)
Merge branch 'master' of github.com:benbeltran/dotfiles
Diffstat (limited to 'ben-prose.zsh-theme')
-rw-r--r--ben-prose.zsh-theme10
1 files changed, 1 insertions, 9 deletions
diff --git a/ben-prose.zsh-theme b/ben-prose.zsh-theme
index 3573c24..dc21546 100644
--- a/ben-prose.zsh-theme
+++ b/ben-prose.zsh-theme
@@ -6,14 +6,6 @@ function rvm_info {
echo '('`rvm-prompt`') '
}
-function hg_prompt_info {
- $OH_MY_ZSH_HG prompt --angle-brackets "\
-< on %{$fg[magenta]%}<branch>%{$reset_color%}>\
-< at %{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\
-%{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}<
-patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null
-}
-
function box_name {
[ -f ~/.box-name ] && cat ~/.box-name || hostname -s
}
@@ -28,7 +20,7 @@ zle -N zle-line-init
zle -N zle-keymap-select
PROMPT='
-%{$fg[red]%}%n%{$reset_color%} at %{$fg[yellow]%}$(box_name)%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(hg_prompt_info)$(git_prompt_info) %{$fg[black]%}$(rvm_info)%{$reset_color%}
+%{$fg[red]%}%n%{$reset_color%} at %{$fg[yellow]%}$(box_name)%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info) %{$fg[black]%}$(rvm_info)%{$reset_color%}
%(?,,%{${fg_bold[white]}%}[%?]%{$reset_color%} )$ '
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[blue]%}"