root@kali-linux:~# echo -ne "hi"
hi
root@kali-linux:~# echo "hi"
hi
root@kali-linux:~#
I am using bash shell, xfce + i3wm + stterm in kali. On previous version of kali, there wasn't this feature/bug to add new line but from 2021.2 onwards it appeared I think. Also the problem isn't with echo but all other commands. Any way on how to revert the change?
declare -p PS1 PROMPT_COMMAND
?declare -- PS1="\\[\\e]0;\\u@\\h: \\w\\a\\]\${debian_chroot:+(\$debian_chroot)}\\[\\033[01;31m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\\$ "
declare -- PROMPT_COMMAND="echo"
@glenn jackmanunset PROMPT_COMMAND