Skip to content

Instantly share code, notes, and snippets.

@mhavrlent
Created November 27, 2019 14:03
Show Gist options
  • Save mhavrlent/87bf913447eef469622fa7a301cd1412 to your computer and use it in GitHub Desktop.
Save mhavrlent/87bf913447eef469622fa7a301cd1412 to your computer and use it in GitHub Desktop.
Run Cygwin bash from Powershell in the same directory
function runCygwinBash {
$env:CHERE_INVOKING = "1"
C:\Cygwin64\bin\bash.exe --login -i
}
Set-Alias cygbash runCygwinBash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment