Skip to main content
100%

For jumping around deeply nested folders.

✓ Published0🌍 Public
PP7h
Last edited Aug 18, 2013
Created on Aug 18, 2013

This example presents a command-line tool for navigating deeply nested folders using named shortcuts. It shows how users can create persistent marks for directories, jump to them from anywhere, list all saved marks, and remove unwanted ones. The Bash script relies on symbolic links stored in a hidden `$HOME/.marks` directory, with functions `mark`, `jump`, `unmark`, and `marks` managing these links. Tab completion for `jump` and `unmark` is implemented via the `complete` built-in and a custom `_completemarks` function that queries the filesystem with `find`. The tool depends only on standard shell utilities like `ls`, `sed`, and `cut`.

AI-generated description

Similar vizzes