https://github.com/hovsater/m
A lightweight tool for working with bookmarks in bash.
https://github.com/hovsater/m
bash bookmarks terminal
Last synced: 8 months ago
JSON representation
A lightweight tool for working with bookmarks in bash.
- Host: GitHub
- URL: https://github.com/hovsater/m
- Owner: hovsater
- License: mit
- Created: 2013-09-24T14:59:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T13:44:36.000Z (about 4 years ago)
- Last Synced: 2024-05-01T12:52:18.908Z (about 2 years ago)
- Topics: bash, bookmarks, terminal
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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: ` `.
**Example**
```
hosts /etc/hosts
awesome ~/work/projects/awesome
```
### Command-line interface
```console
$ 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](https://raw.github.com/KevinSjoberg/m/master/m) in a directory of your
choice. I chose `$HOME/bin/m`. Source it in your `.bash_profile` or `.bashrc` file.
## Alternatives
* [bashmarks](https://github.com/huyng/bashmarks)