For bash the path separator for the environment variable $PATH is ":"
So out of curiosity:
if a have a directory named
$HOME/with:character
Is there any way I can add it to the search path?
Please note that I think adding : to a filename is not a very smart idea, but I wanted to know if I could add such a directory to a search path if I ever encountered one
I tried with a backslash, but this doesn't seem to work:
export PATH="$PATH:$HOME/with\\:character"
double : (::) doesn't work either