Hacker News new | ask | show | jobs
by bjourne 345 days ago
That is basically what Oh My Zsh does for zsh: https://ohmyz.sh/ Even if you don't use zsh you can look at the source code and adapt the prompts for the shell you are using.