Skip to content

Instantly share code, notes, and snippets.

@tiller1010
Created April 10, 2024 17:10
Show Gist options
  • Select an option

  • Save tiller1010/bc2e288c27cb921c0f9c617e2cac67d5 to your computer and use it in GitHub Desktop.

Select an option

Save tiller1010/bc2e288c27cb921c0f9c617e2cac67d5 to your computer and use it in GitHub Desktop.
Fixes git bash issues with certain interactive shell programs
Git bash has issues with certain interactive shell programs
- mongo
- ngrok
- nvim
- gh pr create
These programs can be run, however, by using winpty
Example:
`winpty nvim`
----
You will likely want to alias these in ~/.bashrc
alias vi="winpty nvim"
alias wsl="winpty wsl"
alias mongosh="winpty mongosh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment