Closed kwonoj closed 4 years ago
Cool! I would love to introduce PowerShell compatible version for Windows shells. I'm not sure whether I can make it work on the plain cmd.exe
(dos) shell? Do you know whether this is possible at all?
Since cmd doesn't have .profile / or .bashrc, bit unsure how we can setup things as same as current init script does. I think that'll be biggest blocker if we want to same setup as other platforms.
Yeah, maybe supporting cmd.exe
is an overkill. Bash-like shell works fine and a Powershell integration is a nice-to-have but jump is still usable on Windows. I'm gonna merge this!
jump works surprisingly well on nix-like environment on windows, specifically msys2 (and potentially others I have not tried). This PR attempts to add build target for windows for those environment, in a hope release can include prebuilt binaries for windows as well.
since init script requires bash compatible shell, I expect compiled binary won't work on plain cmd though compiled binary itself runs fine on cmd.