From what I understand, shell aliases are in-memory stuff like %ENV vars -- so the reason you can't execute them is because they aren't defined
So the solution is to source your profile some how, or a better idea
is to turn all your aliases into shell scripts, say add ~/mybin to your path where you have "myalias" which is a shell script (and not an alias), then as long as ~/mybin is in your path you don't need to source .profile... to load your aliases
In reply to Re: How to execute alias commands (source your profile)
by Anonymous Monk
in thread How to execute alias commands
by nanophd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |