3 ms·
Shameless plug: a shell I develop has builtin directory history: https://elv.sh/learn/cookbook.html https://elv.sh/learn/cookbook.html (search for "directories"
by xiaq 6y ago
Shameless plug: a shell I develop has builtin directory history: https://elv.sh/learn/cookbook.html https://elv.sh/learn/cookbook.html (search for "directories")
- andrepd 6y agoFish has it as well.
- jhallenworld 6y agoYou can make this for bash. I have "nd" and "pd", step to next or previous directory in the directory history (and "cd" adds an entry to the history). I like this a bit better then z, but it would be better to have both. Code is here if anyone interested, look for the funccd, funcnextdir, funcprevdir and associated aliases. https://github.com/jhallen/joes-sandbox/blob/master/setup/bashrc https://github.com/jhallen/joes-sandbox/blob/master/setup/ba...