zsh integration causes pause before command execution
Build 2.9.20150722-nightly, 10.11 beta,com.googlecode.iterm2.plist
Short of it is that when using zsh integration all commands have a ~0.5-1 second pause before executing. Not hugely problematic, but it does get irritating after a while.
I traced the behavior to something to do with the string in the printf
in
iterm2_before_cmd_executes() {
printf "\033]133;C\007"
}
in .iterm2_shell_integration.zsh
. I'm not sure what it is about that string (something special to iterm? I'm not familiar with the escape sequences), but changing that string removed the pause. Manually entering the original string in a printf at the command line would still cause the pause, though.
I'd guess that there's something iterm is doing in the background that's causing this?
debuglog.txt.zip should contain the results of:
- opening a new window with the normal shell integration script
- running
ls
, observing the pause - closing the window
- changing the
C
in the aboveprintf
string toD
and saving - opening a new window
- running
ls
, no pause - reverting the
printf
change - opening a new window, running
ls
, with pause
In approximately that order.
If more information is required let me know.