+
Skip to content

srevn/mark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mark

A bookmarking tool for fish-shell that supports both files and directories.

Usage

mark stores bookmarks in ~/.local/share/mark/

Use set -U MARK_DIR <dir> to change where bookmarks are stored.

$ mark help
Usage:
  mark BOOKMARK                  Navigate to bookmark (directory or file in $VISUAL)
  mark PATH                      Create bookmark with basename as name (requires /)
  $(mark BOOKMARK)               Get path to BOOKMARK (for command substitution)
  mark add [NAME] [DEST]         Create a bookmark NAME for DEST (file or directory)
                                   Default NAME: basename of current directory
                                   Default DEST: current directory
  mark add DEST                  Create a bookmark for DEST (requires /)
  mark get BOOKMARK              Print the destination path of BOOKMARK
  mark list                      List all bookmarks
  mark rename OLD NEW            Change the name of a bookmark from OLD to NEW
  mark remove BOOKMARK           Remove BOOKMARK
  mark clean                     Remove bookmarks that have a missing destination
  mark help                      Show this message

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

Features

  • Directory bookmarks: Jump to directories with mark BOOKMARK
  • File bookmarks: Open files in $VISUAL with mark BOOKMARK
  • Quick bookmarking: Use mark /path/to/location to create a bookmark named after the basename
  • Path resolution: Use $(mark BOOKMARK) in command substitution to get the path

Installation

Run make

About

Bookmarks for fish-shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载