Skip to content
/ m Public

A lightweight tool for working with bookmarks in bash.

License

Notifications You must be signed in to change notification settings

hovsater/m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

m

m is a lightweight tool for working with bookmarks in bash.

Usage

m uses $HOME/.config/m/marks to store bookmarks. Bookmarks can be managed by editing the marks file in your favorite editor. Booksmarks can be either files or directories.

Structure

The structure of $HOME/.config/m/marks is very similar to the structure of the hosts file, /etc/hosts. Bookmarks are defined in the format: <name> <path>.

Example

hosts   /etc/hosts
awesome ~/work/projects/awesome

Command-line interface

$ m -h
usage: [OPTIONS...] MARK
  -l    --list      List available marks
  -e    --edit      Edit available marks
  -h    --help      Show this usage summary
  -v    --version   Print version information

Installation

Put m in a directory of your choice. I chose $HOME/bin/m. Source it in your .bash_profile or .bashrc file.

Alternatives

About

A lightweight tool for working with bookmarks in bash.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages