iridakos / goto

Alias and navigate to directories with tab completion in Linux
https://iridakos.com/programming/2019/04/10/shell-navigation-with-autocomplete
MIT License
879 stars 63 forks source link

Windows support? #43

Closed goldingdamien closed 5 years ago

goldingdamien commented 6 years ago

Tried in Git Bash in Windows but nothing happens. Is Windows supported in any way?

iridakos commented 6 years ago

Hi @goldingdamien, Unfortunately I haven't tested the script in Windows. I will keep you posted when I find the time to do so.

Thanks for reporting it :)

JBlond commented 5 years ago

It works out of the box, at least the script. The installer needs to be changed. On Windows there is no sudo. And the install path neends to be /usr/bin or /usr/local/bin

JBlond commented 5 years ago

It might be a trick to use something like

if [[ "$OSTYPE" == "msys" ]]; then
iridakos commented 5 years ago

@JBlond Thank you very much!

I will try to check this as soon as possible. Feel free to submit a pull request in case you have any fix sooner :)

JBlond commented 5 years ago

@iridakos See my pull request

iridakos commented 5 years ago

@JBlond Thank you very much for contributing! I will check it on my machine and merge it! :+1:

JBlond commented 5 years ago

@iridakos Ping

iridakos commented 5 years ago

@JBlond Thanks!