I want to fetch some environment variable which are set in .bash_aliases file. I want use them in my bash script
#!/bin/dash
echo $PATH
echo $DEPOT_TOOLS
Both are coming empty string once call it in myscript. In the terminal these variable are printing successfully.