Windows Bashrc ((new)) -
💡 After editing your .bashrc , you don't need to restart the terminal. Just run source ~/.bashrc to apply the changes immediately.
The quick fix? Create a .bash_profile (or .profile ) that forces .bashrc to load.
Users typically add these three types of "pieces" to their .bashrc to make Windows feel more like Linux: (Shortcuts for long commands) alias gs='git status' alias ll='ls -la' windows bashrc
Instead of .bashrc , Git Bash looks for .bash_profile .
The good news: Windows does support a .bashrc equivalent. You just need to know where to look. 💡 After editing your
alias gs='git status' alias ga='git add .' alias gc='git commit -m' alias gp='git push'
Now you can create a separate .bashrc file for your aliases and functions, and Git Bash will load it automatically. Create a
There are three common Bash environments on Windows:
Usually located in your user profile folder at C:\Users\ \.bashrc .