Prevent Oh-My-Zsh to overwrite title in GNU Screen
Oh-My-Zsh is a community driven framework to manage you Zsh configuration.
It provides a great complete Zsh configuration out-of-the-box. So you don't have to keep tinckering on your own .zshrc and start using Zsh.
Titles in GNU Screen
GNU Screen is the wonderfullfull-screen window manager that multiplexes a physical terminal between several interactive shells. A killer feature of GNU Screen is that programs continue to run when their window is currently not visible and even when the whole screen session is detached from the users terminal.
Setting titles in GNU Screen
A typical GNU Screen setting will have several virtual windows open and in order to know what is running in what window, GNU Screen provides a function to let programs to set the window title. Also the user can override this and set the window title manually.
Prevent Oh-My-Zsh to overwrite the GNU Screen window title
When using Zsh with a the Oh-My-Zsh configuration in GNU Screen this results in the anoying overwriting of your GNU Screen window title on every command. Fortunately this can be easely disabled.
Uncomment the following line in your .zshrc:
After this, your life will be less complicated :)