From 8fefd21ed3f5783e65dc16b47f72643f597ab0aa Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Wed, 4 Feb 2015 01:02:15 -0500 Subject: [PATCH] Update termsupport.zsh --- lib/termsupport.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index e5c0feb9a..a6c272cad 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -24,7 +24,7 @@ function title { ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD ZSH_THEME_TERM_TITLE_IDLE="%n@%m: %~" -# Called when you have a prompt +# Runs before showing the prompt function omz_termsupport_precmd { # Notify Terminal.app of current directory using undocumented OSC sequence # found in OS X 10.9 and 10.10's /etc/bashrc @@ -41,7 +41,7 @@ function omz_termsupport_precmd { } -# Called at the beginning of command execution +# Runs before executing the command function omz_termsupport_preexec { if [[ $DISABLE_AUTO_TITLE == true ]]; then return