Tried to set some aliases in my .bashrc file. This one...

export alias umusic="/Volumes/180 gram/Uncompressed/"

...gets the following error...

-bash: cd: /Volumes/180: No such file or directory

...when I try "cd $umusic".

I've tried various methods of escaping that whitespace in the directory name, to no avail. (180\ gram, 180%20gram, single quotes, double quotes, no quotes.) I realize the easiest solution is to rename the directory to "180gram," but I'd like to know how to solve this particular problem.

I'm on a Mac, if that makes any difference.

Edit
Report