I’ve ported the wonderful powerline-shell prompt generator (https://github.com/b-ryan/powerline-shell) from python to rust to save myself the python bootup on every command submission and speed things up in general. It’s order of magnitude faster now - even without any optimization or computing the segments in parallel. I concentrated on the bash shell and the segments I’m using on a daily basis like cwd, git, hostname, etc.
If you could spare the time, give it a go. I would love to get your feedback on the code: