I'm currently using Hyper terminal on a mac, but this question also applies to other types of terminals, e.g. iTerm
How do you change the terminal title from username@devicename:~ into just ~ or zsh.
Currently my shell is zsh with oh-my-zsh installed. I'm not looking for workarounds through powerline or themes.
One more question:
How do you reset back after running echo -n -e "\033]0;SERVER\007"?
Have you googled to search for an answer? How about the following: https://alvinalexander.com/blog/post/mac-os-x/change-title-bar-of-mac-os-x-terminal-window