-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow terminal open #41
Comments
Turns out the reason is that |
I don't use iTerm. Open to concrete ideas about how to fix it. |
An AppleScript wrapped in a bash function seems to do the trick. Something along:
A bit verbose, I did not find a better way to avoid opening two windows when iTerm is launched fresh. It saves ~500ms on my system, when iTerm is already open. |
Funny, that's how it used to work, but there was some breaking change between macOS and/or iTerm versions, and it seemed at the time like there was no longer any need for applscript: #26 Not opposed to restoring it in some fashion, since there is a legitimate need. |
On MacOS and with iTerm it takes ~1s to open terminal with gtfo, versus opening a new terminal manually with iTerm is instant. Opening Finder does not have this problem and is instant with gtfo. Not sure why, vim profiling does not show anything being slow.
The text was updated successfully, but these errors were encountered: