I'm trying to set a shortcut so that I don't have to type a really long directory name so often. In
~/.bash_profile, I am doing something similar to:
export CDPATH=".:~:/This/Is/A/Really/Long/Path/That/Ends/With/My Name"
How do I escape/preserve the space in a directory name when trying to set this variable?
I've tried various solutions (using single quote vs double quote, escaping with a backslash (I even tried
'My\\\ Name'), no quotes at all, and combinations of those options).