I am using Linux Mint 16 with xfce and I have the following problem:
For my work I always have to switch to a long path in my File system.
I tried to avoid this by adding this one particular folder to my CDPATH.
I added the path with:
export CDPATH=$CDPATH:/directory/to/add
But this only works for one terminal session. After closing the terminal, the CDPATH is gone again.
I have read to put the given line for exporting into my .bashrc or my .profile or some other files, but none of them worked permanently.
So, how can I add a directory to my CDPATH permanently ?
Maybe with a bash Script in my autostart ?