I'm trying to run a program defined in an alias (and the alias is defined in a source file)
alias myapp="/somepath/app -arg1 -arg2"
Then I go to IDEA and create an External Tool
Program: Bash Arguments: -c "source /filewithalias.sh && myapp"
Then when I run, I get the following message:
bash: myapp: command not found
I already tried prepending
shopt -s expand_aliases
To the command string but the result is still the same