Hacker News new | ask | show | jobs
by simonsaysso 1535 days ago
I'm a huge, huge fan of writing your own prompt. I've had too many people not actually understand what was being displayed to them by their latest and prettiest version of their prompt and have to walk them through it. The folks posting here are unlikely to be in this camp, but I've had people with their full working directory in the prompt running `pwd`. If you're not going to use the information from the prompt, don't include it.

A big problem I had at a former employer was that `git status` would take 2+ seconds to return (for various reasons) and the default oh-my-zsh prompt would parse the results of `git status` to display the repository. People thought it was normal to wait more than half a second to get a prompt back! I lost trust in 3rd party prompts from that experience, and while I have sunk at least a few hours into my own prompt, I know exactly how it works, what calls it's making, and where things go wrong (when they do).