New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows compat #163
Windows compat #163
Conversation
I'm no ruby expert, but http://tech.natemurray.com/2007/03/ruby-shell-commands.html says backticks don't return stderr
The number expansion is broken now and I don't know why. if I try to use the numbers edit: |
https://github.com/AsaAyers/scm_breeze/blob/windows-compat/lib/git/branch_shortcuts.sh#L24 When scm_breeze invokes ruby, it's subprocess isn't running bash so /bin/git doesn't exist. It needs to somehow find |
I don't have the exact same issue, I was getting |
@zommerfelds are you saying that without ruby installed scm_breeze is now working for you on windows? |
@ghthor: yes |
@ghthor: I use it inside Git Bash (https://git-for-windows.github.io/) |
That seems extraordinary. Perhaps Git Bash is providing a newer version of ruby that has support for the syntax used in the scm_breeze scripts? |
No I don't think it provides any Ruby version. As far as I understand scm_breeze has a Bash (non-Ruby) version, and that one seems to work. |
@ghthor: NVM, |
I'm making https://github.com/pulls more useful to me today by closing my old PRs. |
Fixes scm_breeze/#135
I'm trying to use the version of bash that comes with git. These are the changes I had to make so far.