From e294a9fa9641428766da76ad1b2b00fd5a5a72ff Mon Sep 17 00:00:00 2001 From: Flavius Aspra Date: Fri, 15 Mar 2013 17:54:06 +0100 Subject: [PATCH 1/2] document POWERLINE_DISABLE_RPROMPT --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 390154d..9346473 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,11 @@ If you don't want to hide git prompt status (new files, modified files, unmerged POWERLINE_HIDE_GIT_PROMPT_STATUS="true" ``` +If you want to hide the right hand side prompt completely: +``` +POWERLINE_DISABLE_RPROMPT="true" +``` + If you don't want the blank line before the prompt: ``` @@ -142,3 +147,4 @@ Contribute * [adrienbrault](https://github.com/adrienbrault) * [mkraemer](https://github.com/mkraemer) * [wujtruj](https://github.com/wujtruj) +* [Flavius Aspra](http://flavius.github.com/) From e4333ac16de31a2ef91fea11a9cea08f14323c71 Mon Sep 17 00:00:00 2001 From: Flavius Aspra Date: Fri, 15 Mar 2013 18:03:11 +0100 Subject: [PATCH 2/2] fix typo POWERLINE_DISABLE_RPROMT --- powerline.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline.zsh-theme b/powerline.zsh-theme index e747c92..945201d 100644 --- a/powerline.zsh-theme +++ b/powerline.zsh-theme @@ -118,7 +118,7 @@ if [ "$POWERLINE_NO_BLANK_LINE" = "" ]; then "$PROMPT fi -if [ "$POWERLINE_DISABLE_RPROMT" = "" ]; then +if [ "$POWERLINE_DISABLE_RPROMPT" = "" ]; then if [ "$POWERLINE_RIGHT_A" = "" ]; then RPROMPT="$POWERLINE_GIT_INFO_RIGHT%F{white}"$'\ue0b2'"%k%F{black}%K{white} $POWERLINE_RIGHT_B %f%k" else