forked from extern/nushell
While the "main" separator in Windows is the backslash, it supports the forward slash as a separator too. Add support for this so that the behavior is similar to the way Windows PowerShell handles the forward slash: it is recognized as a separator, and when using <tab> for path completion the slash is reversed.