I want to add the sublime lib to my path but it has a space in it.
I have tried the obvious like you would navigate in the terminal (
e.g. /Applications/Sublime\ Text\ 2.app/Contents
)
export PATH="/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl:$PATH"
But I still get the error
/Applications/Sublime: No such file or directory
I could rename it but I am curious how to resolve it. I am using bash.
export PATH='/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl:$PATH
? Also, is that newline intended?export PATH="/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl:$PATH"
, otherwise $PATH won't be expanded.