You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users should be able to select their preferred shell in settings. In cases where no selection is made, we should use the OS default.
Reacted by Benjamin Degenhart, Brian Surowiec, Michael Keck, Uwe, Steven Pilkington, Vidar Tonaas Fauske, Yohanna, Jeremy Landis, Ruiyang Li, Andrés Barreto and 9 more
Would love to see this in Windows prior to 1.0 since cmd.exe is just terrible. Looks like you've got a fair amount of users looking for this as well between up-votes and referenced issues...
I would love to see an option to use git-bash.exe, but powershell at a minimum. Thanks!
Reacted by inxomnyaa, Manuel Smeria, Mohamad Rahal (Mohal) and Ryan Freeth
CMD will be available on all systems. PowerShell will be available on more modern systems out of the box, but will require a separate install on older Windows versions. Just another pitfall that you may have to account for...
Other popular ones might be Cygwin, and Bash that is available in later versions of Windows 10. However, the "custom" field covers all of these (at least for now) since they are less likely to be available out-of-the-box.
Just wondering, what happened to the Custom option, it doesn't appear in the 1.0.13 version. I would like to use WSL/Bash on Ubuntu on Windows, however, my only options are Command Prompt, Powershell, Hyper and Git Bash.
Also, will changing this also change where git hooks are ran?
@shiftkey the git hooks appear to only have problems if the npm scripts you want to run in them were installed via WSL because there is no executable or *.cmd file for windows to execute. It is not any issue per-se, but what I believe is a disconnect between the two systems (windows and wsl).
Activity
joshaber commentedon Feb 1, 2017
Anyone feel like this needs to be in beta? We never had it in Mac so I don't feel strongly, but maybe the situation is different on Windows?
iAmWillShepherd commentedon Feb 1, 2017
I don't think it needs to be in beta, but it should definitely be in the 1.0 release.
joshaber commentedon Feb 2, 2017
👍 Dropping it in 1.0.
kmscode commentedon Jul 18, 2017
Would love to see this in Windows prior to 1.0 since cmd.exe is just terrible. Looks like you've got a fair amount of users looking for this as well between up-votes and referenced issues...
I would love to see an option to use git-bash.exe, but powershell at a minimum. Thanks!
joshaber commentedon Jul 18, 2017
Thanks @kmscode, we're planning to do this for 1.0 👍
joshaber commentedon Jul 24, 2017
This needs design around how we set it in Preferences.
joshaber commentedon Aug 11, 2017
I assume this'll be more or less like "Open in External Editor."
What shells do we wanna support? For Mac, I'd guess:
And for Windows I have no idea 😆
tajnymag commentedon Aug 11, 2017
For Windows, shells which I could imagine to be wanted are:
kmscode commentedon Aug 11, 2017
For windows, I would hope that the following options would be available at a minimum:
%ProgramFiles%\Git\bin\bash.exe (if available)Notes:
The options as listed above look ugly and since the current UI is so nice, maybe pretty up the front end and list:
Or something like that.
The installdir for Git can be found in the registry:
as it may be different than specified above.
CMD will be available on all systems. PowerShell will be available on more modern systems out of the box, but will require a separate install on older Windows versions. Just another pitfall that you may have to account for...
Other popular ones might be Cygwin, and Bash that is available in later versions of Windows 10. However, the "custom" field covers all of these (at least for now) since they are less likely to be available out-of-the-box.
edit: proper git-bash.exe item.
joshaber commentedon Aug 11, 2017
Thanks @tajnymag, @kmscode! 💖
Add Hyper to Shell choices on Windows
forrestab commentedon Feb 3, 2018
Just wondering, what happened to the Custom option, it doesn't appear in the 1.0.13 version. I would like to use WSL/Bash on Ubuntu on Windows, however, my only options are Command Prompt, Powershell, Hyper and Git Bash.
Also, will changing this also change where git hooks are ran?
shiftkey commentedon Feb 3, 2018
@forrestab we don't currently have plans to bring back the custom shell, for reasons I outlined in a different issue: #2487 (comment)
We're open to taking contributions to enable WSL as an option, the details about how to add support is covered by our docs: https://github.com/desktop/desktop/blob/master/docs/technical/shell-integration.md
shiftkey commentedon Feb 3, 2018
I'm not aware of any issues like this with Git hooks.
forrestab commentedon Feb 3, 2018
@shiftkey the git hooks appear to only have problems if the npm scripts you want to run in them were installed via WSL because there is no executable or
*.cmdfile for windows to execute. It is not any issue per-se, but what I believe is a disconnect between the two systems (windows and wsl).Thanks for the response though.