Skip to content

windows - use git bash as shell via set shell #1425

Answered by joelim-work
bjoernbuth asked this question in Q&A
Discussion options

You must be logged in to vote

On Windows the shellflag option defaults to /c, have you tried changing it?

set shell 'C:\Program Files\Git\bin\sh.exe'
set shellflag '-c'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bjoernbuth
Comment options

Answer selected by bjoernbuth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants