Setting the CDPATH variable is very useful, but it results in some not very nice result: each time I use the cd
command, the full path of directory I want to move is printed.
For example, if I am in my home directory and want to change directory to Desktop, result will be following:
~$ cd Desktop
/home/user/Desktop
~/Desktop$
This is kind of annoying, so my question is: how to avoid printing the path like this?
alias
code. – rubynorails Nov 25 '15 at 19:39