bash change directory with "shortcuts"

1

On my windows computer I use JPSofts "Take Command" a.k.a. TCMD as command.com or shell replacement.

One tcmd feature I really miss when working with bash on Linux/Os X, is the extended directory search that uses a database of directories (JPSTREE.IDX) to allow direct access to a deeply nested directory by just typing e.g.:

cd <nested-dir-name>

then the shell changes directories to that path. Natural there are ways to add/remove entries from the dir-search-DB.

Is there a similar tool for bash?

lexu

Posted 2015-06-28T09:03:41.190

Reputation: 1 822

1Take a look at variable $CDPATH in bash's manpage. – Cyrus – 2015-06-28T09:26:15.990

@Cyrus: I missed $CDPATH! .. only (slight) downside is the need for manual editing of the list ... If you'll convert your comment to an answer I'll gladly accept it! – lexu – 2015-06-28T10:28:24.247

No answers