Add the environment variable DISABLE_CMD_AUTO_TITLE for those that only want to see pwd in their titles.

This commit is contained in:
Thomas Connell 2014-10-23 13:31:35 -06:00
commit 0fbf90b242
2 changed files with 7 additions and 1 deletions

View file

@ -24,6 +24,9 @@ function omz_termsupport_precmd {
#Appears at the beginning of (and during) of command execution
function omz_termsupport_preexec {
if [[ "$DISABLE_CMD_AUTO_TITLE" == "true" ]]; then
return
fi
emulate -L zsh
setopt extended_glob