Windows 11 has shattered the wall between operating systems, but the .bashrc file remains a loyal creature of its environment. Ask yourself: Am I in WSL, Git Bash, or something else? The answer tells you exactly where your aliases and customizations should live.
Because this is a native Windows file, standard editors work fine—just ensure your editor saves with line endings, not CRLF.
Want the same aliases ( ll , gst , update ) in WSL, Git Bash, and MSYS2? Create a master config: