How to add a directory to my path that includes a colon and a space? I installed MIT/GNU scheme and am trying to add the directory to my $PATH variable so that I can run it from Terminal.

The app name MIT:GNU Scheme.app is a veritable "perfect storm" (for path names) as it includes a colon and a space.

I've tried adding each of the following to my ~/.bash_profile, none have worked:

export PATH=$PATH:"/other/paths:/Applications/MIT\:GNU\ Scheme.app/Contents/Resources"
export PATH=$PATH:"/other/paths:/Applications/MIT\:GNU Scheme.app/Contents/Resources"
export PATH=${PATH}:"/other/paths:/Applications/MIT\:GNU\ Scheme.app/Contents/Resources"
export PATH=${PATH}:"/other/paths:/Applications/MIT\:GNU Scheme.app/Contents/Resources"
It won't work. You have several options:


Create an alias for bash to run the command.
Create a symbolic link to the executable from a directory in your PATH. (I like to have a directory ~/bin at the front of my path for such things.)
Create a symbolic link to /Applications/MIT\:GNU\ Scheme.app/Contents/Resources somewhere and put the link in your PATH.
Rename the application.