From 6f9bfc691cffef59b21c3bf8f44ffbc3abed15bd Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Tue, 14 Aug 2012 18:00:21 +0200 Subject: [PATCH] comment --- bash/prompt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/prompt b/bash/prompt index 7188c80..a9b4b25 100644 --- a/bash/prompt +++ b/bash/prompt @@ -41,6 +41,9 @@ __tpwd() { __truncate_path "$PWD" } +# clears a line that was not terminated by a LF +# fixing the dangling prompt issue +# marks it with a reverse %, like zsh clear_incomplete_line() { # ask for cursor position echo -en "\033[6n"