mark_recall

Crates.iomark_recall
lib.rsmark_recall
version0.1.0
sourcesrc
created_at2024-03-22 20:42:07.534188
updated_at2024-03-22 20:42:07.534188
descriptionA bookmark system for the shell
homepage
repositoryhttps://github.com/technologicalMayhem/mark_recall
max_upload_size
id1182977
size16,589
(technologicalMayhem)

documentation

README

Mark and Recall

Installation

Place the application in a folder that is in your PATH.

And add this to the profile of your shell.

# Mark and recall
alias "mark=mr mark"

function recall() {
  cd $(mr recall $1)
}

The recall function is needed as command line applications cannot change your current path. So the app just returns the requested path and we tell the shell to change directory with that function.

Usage

You can use mark, (or mr mark, if you don't use the alias) to bookmark a directory and recall (or mr recall) to restore it. You can also use a name like this mark cat-pictures and then return to it using recall cat-pictures.

If no name is given, like in the first example, then the bookmark will just be called default. All the bookmarks are stored in ~/.config/marks.list.

There is also mr list to list all currently set marks and mr clear [name] to clear a mark. Use mr clear --all to clear all marks.

Commit count: 8

cargo fmt