zsh: precmd() don't echo trailing newline
This commit is contained in:
parent
c3c7b63d73
commit
393302373b
|
@ -85,7 +85,8 @@ in
|
|||
stty erase '^?'
|
||||
|
||||
precmd () {
|
||||
echo -e -n "\e]2;$(pwd)\e\\"
|
||||
DIR_NAME=$(pwd | sed "s|^$HOME|~|g")
|
||||
echo -e -n "\e]2;$DIR_NAME\e\\"
|
||||
}
|
||||
|
||||
# If a command is not found, show me where it is
|
||||
|
|
Loading…
Reference in a new issue