This commit is contained in:
Loic Nageleisen 2012-08-14 18:00:21 +02:00
parent b0c6665c2a
commit 6f9bfc691c

View file

@ -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"