The simplest answer is to do 2 important things, or it will not work. In another script, do the following: -i for interactive mode and part of the store, as described below.
#!/bin/bash -i
After that, your aliases that you define in ~ / .bashrc will be available in your shell script (giga.sh or any.sh) and any function or child shell inside such a script.
If you do not, you will receive an error message:
your_cool_alias: command not found
Arun sangal
source share