Windows Bashrc Link

If you’ve just moved from macOS or Linux to Windows (or you’re dual-booting), one of the first things you’ll miss is your trusty .bashrc . That one file where you store aliases, custom prompts, and environment variables.

This creates a .ps1 file usually located at Documents\PowerShell\Microsoft.PowerShell_profile.ps1 (or WindowsPowerShell for older versions). windows bashrc

Because Windows doesn’t use Bash natively, the location of your .bashrc depends on the tool you’re using: If you’ve just moved from macOS or Linux

| 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 | Because Windows doesn’t use Bash natively, the location

Usually located in your user profile folder at C:\Users\ \.bashrc .

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