4 ms·
Something I noticed after migrating to oh-my-zsh while still on a spinning drive - if you're on a mac and clear out your system logfiles (rm /private/var/log/as
by Karunamon 12y ago
Something I noticed after migrating to oh-my-zsh while still on a spinning drive - if you're on a mac and clear out your system logfiles (rm /private/var/log/asl/*.asl), prompts begin to appear almost instantly even with ZSH.
I have no idea what is happening to cause this, but the performance difference is unmistakable.
- Wonnk13 12y agohuh, can confirm prompts are appearing faster. what the hell is this?
- pfranz 12y agoI forgot I did this about a year ago. I just did it again now and terminal launches instantly. I'm not sure when in the process it gets hung up, but these are Apple System Logs. Mine didn't look too bad; less than a hundred files taking less than 20mb or so. Here's an article where they got rather excessive (84GB): http://forums.macrumors.com/showthread.php?t=641936 http://forums.macrumors.com/showthread.php?t=641936 You can look at them if you want using: syslog -f <file.asl> | less I should time the init and print a suggestion to delete the files if it goes over a threshold.
- deleted 12y ago[deleted]
- cweiss 12y agoFWIW - I'm pretty sure this is shell-independent. Happens with BASH as well.