Skip to content

Instantly share code, notes, and snippets.

@codspire
Last active June 12, 2017 00:56
Show Gist options
  • Save codspire/2981aad142647d930d985728af799c7b to your computer and use it in GitHub Desktop.
Save codspire/2981aad142647d930d985728af799c7b to your computer and use it in GitHub Desktop.
Make Python CLI interpreter work on GitBash

Make Python CLI interpreter work on GitBash

Add below lines to ~/.bashrc file

alias python="winpty python.exe"

Restart the console or source ~/.bashrc

Similarly, add below line to make aws-shell work on GitBash

alias aws-shell="winpty aws-shell"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment