zsh: precmd() don't echo trailing newline

This commit is contained in:
teutat3s 2022-05-02 01:23:41 +02:00
parent 48be9cfa75
commit a772a91d7b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -86,7 +86,7 @@ in
precmd () {
DIR_NAME=$(pwd | sed "s|^$HOME|~|g")
echo -e "\e]2;$DIR_NAME\e\\"
echo -e -n "\e]2;$DIR_NAME\e\\"
}
# If a command is not found, show me where it is