mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
comment
This commit is contained in:
parent
b0c6665c2a
commit
6f9bfc691c
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ __tpwd() {
|
||||||
__truncate_path "$PWD"
|
__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() {
|
clear_incomplete_line() {
|
||||||
# ask for cursor position
|
# ask for cursor position
|
||||||
echo -en "\033[6n"
|
echo -en "\033[6n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue