From 819fd72a8273c84ef5c2a20dfb9f0ac8280974b5 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 14 Aug 2012 17:48:28 +0200 Subject: [PATCH] writing blanks to end is useless --- bash/prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/prompt b/bash/prompt index 8bad488..ddf2a71 100644 --- a/bash/prompt +++ b/bash/prompt @@ -55,7 +55,7 @@ clear_incomplete_line() { local col=$((${pos[1]} - 1)) # not on first column? clean up! - [[ $col != 0 ]] && printf "\e[7m%%\e[m%$((COLUMNS-1))s\r" + [[ $col != 0 ]] && printf "\e[7m%%\e[m\n" } # git prompt info