/to-fish

Bookmarks for Fish Shell

Primary LanguageShellMIT LicenseMIT

to-fish

A directory bookmarking tool for fish-shell.

Usage

to puts bookmarks in the directory ~/.local/share/to-fish/

Use set -U TO_DIR to change where bookmarks are stored.

$ to help
Usage:
 to (BOOKMARK|DIR)         Go to BOOKMARK or DIR
 to add [BOOKMARK] [DEST]  Create a BOOKMARK for DEST
                             Default BOOKMARK: name of current directory
                             Default DEST: path to current directory
 to add DEST               Create a bookmark for DEST if it is a directory
 to ls                     List all bookmarks
 to mv OLD NEW             Change the name of a bookmark from OLD to NEW
 to rm BOOKMARK            Remove BOOKMARK
 to clean                  Remove bookmarks that have a missing destination
 to resolve BOOKMARK       Print the destination of a bookmark
 to help                   Show this message

Bookmarks are stored in: ~/.local/share/to-fish
To change, run: set -U TO_DIR <dir>

Installation

Fisher (recommended)

fisher install joehillen/to-fish

Add the following to ~/.config/fish/config.fish and run fundle install.

fundle plugin joehillen/to-fish

Manually

Run make