Rewrite of milkbikis/powerline-shell in c++