Merge pull request 'zsh: precmd() don't echo trailing newline' (#78) from fix/zsh-precmd into main

Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/78
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
This commit is contained in:
Benjamin Bädorf 2022-05-02 18:34:08 +00:00
commit 797e83f9aa

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