Thanks for the pointer. I'll share a link to Cmder[1], which was what I was pointed at the other day.
[1]: https://cmder.net/
(So far, it beats the heck out of cmd.exe, especially for WSL...)
[1]: https://cmder.net/
(So far, it beats the heck out of cmd.exe, especially for WSL...)
And this terminal is "based on web technologies" so I doubt decent speed is really achievable.
It's almost ironic that web developers are creating terminals.
I basically changed the config.lua file to use clink.get_cwd() instead of pwd(), and to
local HEADfile = io.open(git_dir.."/HEAD")
if not HEADfile then return false end
local git_branch = HEADfile:read():match('ref: refs/heads/(.*)')
HEADfile:close()
return colors.git_dirty .. " (" .. git_branch .. ")"
to find the current git branch if any. Less functional and more potential for errors (detached heads or such) but for my case it's very worth it.