This answer on Reddit helped troubleshoot. I just commented everything, and it made the load lightening fast. Then, on a closer look, I found this mess. No idea how it got to this, but commenting out all but one of them did the trick.
I was wondering why my terminal session was taking forever to load (~90 seconds each time I opened a tab).
— Amit Jotwani (@amit) April 24, 2022
Then I found this in my .zshrc file.
Over 300 lines of the same if condition.
I have no idea how it got here, but removing all but one reduced the load time to 1 second pic.twitter.com/M2PTWXawWg
Subscribe to our email newsletter and unlock access to members-only content and exclusive updates.
Comments