Windows Bashrc Jun 2026

# Complex command (function) function grep findstr $args

| 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 | windows bashrc

Because Windows doesn’t use Bash natively, the location of your .bashrc depends on the tool you’re using: # Complex command (function) function grep findstr $args

You can use a built-in terminal editor like or Vim , or even a Windows GUI editor like Notepad . How to Create and Use .bashrc File on Windows 10 alias gs='git status' alias ga='git add

Stop retyping your aliases every session. Set up your profile today and make the terminal feel like home.

alias gs='git status' alias ga='git add .' alias gc='git commit -m' alias gp='git push'