Replies: 1 comment 9 replies
-
Custom prompt segments run every time prompt needs to be rendered. That's at least once for every command you run in an interactive zsh. Before trying to make your prompt segment faster, make sure it'll make a difference to you. The best way is to replace the segment with a hard-coded |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've created a custom segment and it's working just fine but I'm trying to understand something pls:
My personal mac device runs smoothly but my company one is not a blazing fast machine so I'm trying to optmize the performance the best I can so the less I call this function (and it's shell commands) the better.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions