Have you heard of powerLevel9k or oh-my-zsh? This kind of functionality already exists. But you can pat yourself for the hard work you have put in. Good job.
I am big fan of zsh and it's hell lot of plugins. Using zsh for last one year. It makes our lives so easy. This tool is basically for people who don't use zsh or love to use terminal commands to see things.