Here is a close
Try creating a variable in your ~/.bash_profile
Note: ~ is a variable for your home directory
make it look something like this
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
# User specific environment and startup programs
export PATH dvdrom
Then logout and back in and test it. the only thing is you will have to use
You may be able to use alias command to get rid of having to use the "$"
I hope that's close to what you're looking for.