So it seems ZSH would give me a built-in solution for https://community.ipfire.org/t/powerline-shell-beautifyer/647/3