A C++ implementation of vcsprompt by Greg Ward