From b4f19831a9f8eaef243e700969fe954001d00e29 Mon Sep 17 00:00:00 2001 From: Wes Morgan Date: Wed, 24 Oct 2012 09:22:39 -0600 Subject: [PATCH] OK to set current command as tab title on Apple Terminal now The previous commit in this branch causes the tab titles to be reset upon command completion (because the prompt's precmd hook resets them to the current path). --- modules/terminal/init.zsh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/terminal/init.zsh b/modules/terminal/init.zsh index cef45d69..5e4ae8da 100644 --- a/modules/terminal/init.zsh +++ b/modules/terminal/init.zsh @@ -41,12 +41,6 @@ function set-terminal-tab-title { # Sets the tab and window titles with a given command. function set-titles-with-command { - # Do not set the window and tab titles in Terminal.app because they are not - # reset upon command termination. - if [[ "$TERM_PROGRAM" == 'Apple_Terminal' ]]; then - return 1 - fi - emulate -L zsh setopt EXTENDED_GLOB