zsh: precmd() don't echo trailing newline

This commit is contained in:
teutat3s 2022-04-30 20:57:35 +02:00
parent 26d5fcf589
commit fc8ac5709a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -85,7 +85,7 @@ in
stty erase '^?'
precmd () {
echo -e "\e]2;$(pwd)\e\\"
echo -e -n "\e]2;$(pwd)\e\\"
}
# If a command is not found, show me where it is