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

View file

@ -19,9 +19,12 @@ ZSH_THEME="robbyrussell"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# Uncomment the following line to disable auto-setting terminal title in any way.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to disable auto-setting running commands in the terminal title.
# DISABLE_CMD_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"