1
0
Fork 0

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).
pull/316/head
Wes Morgan 12 years ago
parent 0b7e47b009
commit b4f19831a9

@ -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

Loading…
Cancel
Save