- Install Git for windows (with Git Bash)
- Check option "Add profile for Windows Terminal" during installation
- After successfull installation create a file
.bashrc
in your C:\Users<USER> - Populate the file with aliases as follows:
alias <NAME>='<COMMAND>'
You can also use a multiline aliases like:
<ALIAS>() {
<COMMAND_1>
<COMMAND_2>
}