From fbdc8260017d39472ce5e2ecc37ddc540c7cb836 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 13 Aug 2012 17:36:49 +0200 Subject: [PATCH] tentative right prompt hack --- bash/prompt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bash/prompt b/bash/prompt index fbf11ad..5528c71 100644 --- a/bash/prompt +++ b/bash/prompt @@ -33,6 +33,14 @@ __tpwd() { __truncate_dir "$PWD" } +#__print_rprompt() { +# source "$DOTFILES_BASH_DIR/ansi_colors" +# local rprompt="" +# local prompt="" +# printf "%s%$(($COLUMNS-${#prompt}))s\r" $prompt $rprompt +#} +#PROMPT_COMMAND="$PROMPT_COMMAND __print_rprompt" + __set_bash_ps1() { # load color vars