when I create this alias from the command line everything works fine alias ejecta='for I in 1 2 3; do /usr/sbin/diskutil unmountDisk disk$I;done'
When the same alias is created in .bash_profile. the OS drops "$I"
THis is such a newbie question but I'm embarassed to say I cant find the solution. Do I have to create a sript and have the alias reference it ?