What are the advantages of aliasing a directory (in my .profile) as opposed to setting a shell variable to it (and exporting of course).
MY_DIR=/usr/local/data/test/ export MY_DIR
The alias only works for commands. That is, the shell will check argv for aliases, it will check every part of argv for sigiled variables (like $MY_DIR). A visual demonstration: