alias open='start ""'
The file is not created by default on Windows. You must create it in your directory. windows bashrc
| Environment | Config file location | |-------------|----------------------| | (Git for Windows) | ~/.bashrc (usually C:\Users\YourName\.bashrc ) | | WSL (Windows Subsystem for Linux) | ~/.bashrc inside the Linux distro | | MSYS2 / Cygwin | ~/.bashrc | alias open='start ""' The file is not created
alias explorer='explorer.exe .' (Opens the current folder in Windows File Explorer) windows bashrc
The "Windows bashrc" problem is a common stumbling block. Because Windows handles shells differently than Unix-like systems, the setup isn't always intuitive. Whether you are using Git Bash, WSL, or PowerShell, here is how to get that persistent configuration working.