gsamokovarov / jump

Jump helps you navigate faster by learning your habits. ✌️
http://gsamokovarov.com/jump
MIT License
1.8k stars 59 forks source link

build(make): add build target for windows #50

Closed kwonoj closed 4 years ago

kwonoj commented 4 years ago

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.

gsamokovarov commented 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?

kwonoj commented 4 years ago

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.

gsamokovarov commented 4 years ago

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!