zsh: precmd() don't echo trailing newline
This commit is contained in:
parent
48be9cfa75
commit
a772a91d7b
|
@ -86,7 +86,7 @@ in
|
||||||
|
|
||||||
precmd () {
|
precmd () {
|
||||||
DIR_NAME=$(pwd | sed "s|^$HOME|~|g")
|
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
|
# If a command is not found, show me where it is
|
||||||
|
|
Loading…
Reference in a new issue