Skip to content

Instantly share code, notes, and snippets.

View lexnewgate's full-sized avatar
💭
I may be slow to respond.

lexnewgate lexnewgate

💭
I may be slow to respond.
  • Blackjack
  • Shanghai
View GitHub Profile
@lexnewgate
lexnewgate / msys2_config.md
Last active December 31, 2021 02:36
msys2 config
@lexnewgate
lexnewgate / git
Created January 30, 2023 07:05 — forked from jasonboukheir/git
git when in unix, git.exe when in wsl
#!/bin/sh
if pwd | grep /mnt/c > /dev/null; then
exec git.exe "$@"
else
exec /usr/bin/git "$@"
fi