Skip to content

Instantly share code, notes, and snippets.

@rik
Created February 3, 2015 13:08
Show Gist options
  • Select an option

  • Save rik/0b5a769d99f94f1cc916 to your computer and use it in GitHub Desktop.

Select an option

Save rik/0b5a769d99f94f1cc916 to your computer and use it in GitHub Desktop.

Revisions

  1. rik created this gist Feb 3, 2015.
    19 changes: 19 additions & 0 deletions gistfile1.diff
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    commit 6a5062cfc309c819c9f6958f15b2abc54b66f0c9
    Author: Anthony Ricaud <[email protected]>
    Date: Sat Jan 5 22:40:15 2013 +0100

    Don't choke on large git repos

    diff --git a/themes/wedisagree.zsh-theme b/themes/wedisagree.zsh-theme
    index 9bdbce4..87ab659 100644
    --- a/themes/wedisagree.zsh-theme
    +++ b/themes/wedisagree.zsh-theme
    @@ -25,7 +25,7 @@ PROMPT='%{$fg[magenta]%}[%c] %{$reset_color%}'

    # The right-hand prompt

    -RPROMPT='${time} %{$fg[magenta]%}$(git_prompt_info)%{$reset_color%}$(git_prompt_status)%{$reset_color%}$(git_prompt_ahead)%{$reset_color%}'
    +RPROMPT='${time} %{$fg[magenta]%}$(git_prompt_info)%{$reset_color%}' # $(git_prompt_status)%{$reset_color%}'

    # Add this at the start of RPROMPT to include rvm info showing ruby-version@gemset-name
    # %{$fg[yellow]%}$(~/.rvm/bin/rvm-prompt)%{$reset_color%}