[ZSH] set terminal title dynamically to the current working directory
The following code / script should be in the manjaro-zsh-config, otherwise you see the Title Unknown in the Tab https://imgur.com/EslItV2.png
# Dynamic Title
case $TERM in
xterm*)
precmd () {print -Pn "\e]0;%~\a"}
;;
esac