4 ms·
The other option was to put them into CDPATH instead... 6,000 of them? (I guess you are using an alternative to CDPATH, but you haven't said.)
by hibbelig 3y ago
The other option was to put them into CDPATH instead... 6,000 of them?
(I guess you are using an alternative to CDPATH, but you haven't said.)
- tedunangst 3y agoNo, because you put the parent directory in CDPATH. If I have funstuff/blogs/pics, funstuff/blogs/foods, funstuff/blogs/cats, etc., I put funstuff/blogs in CDPATH and now cd cats just works. If I created a pile of symlinks, I would have to individually create one symlink each for ~/pics, ~/foods, ~/cats, etc. And also type cd ~/cats.
- hibbelig 3y agoI see. Thank you, I missed that aspect. Of course, adding a symlink “~/f” that points to “funstuff” would work around the limitation, at the expense of typing two more characters. Four more if you count the leading “~/”.