From 2b7ff346db941e323947c3dfea1e57d98068732b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 1 Oct 2016 12:55:31 +1000 Subject: [PATCH] Fix garbage in prompt --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 82405814..269ce346 100755 --- a/neofetch +++ b/neofetch @@ -2789,7 +2789,7 @@ dynamicprompt() { fi # Set the prompt location - [ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}B" + [ "$image" != "off" ] && printf "\033[${lines/-*/0}B" } # }}}