Differently from bash shell (for create new alias):
alias test="echo test"
if I do the same thing using a bash script, alias does not run:
#!/bin/bash alias test="echo test"
also export it, same problem:
alias test="echo test" ; export test
maybe correct: really "test" in not a variable. So, how put any aliases to bash script and let them available in my environment?