Skip to content

brockers/mark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mark

License

A minimalist command-line bookmark manager. Create, list, and jump to directory bookmarks using symbolic links.

Quick Start

# Bookmark your current directory
cd ~/projects/myapp
mark                    # creates bookmark named "myapp"

# Or with a custom name
mark work               # creates bookmark named "work"

# List all bookmarks
mark -l # Or use (marks) if you enabled aliases)
#   myapp -> /home/user/projects/myapp
#   work  -> /home/user/projects/myapp

# Jump to a bookmark
jump work # cd's to the bookmarked directory (or use mark -h work)

# Delete a bookmark
mark -d work # Or use (unmark work) if you have enabled aliases

On first run, mark will prompt to set up tab completion and shell aliases (marks, unmark, jump).

Installation

From source:

git clone https://github.com/brockers/mark.git
cd mark
make build
sudo cp mark /usr/local/bin/   # or: cp mark ~/bin/

From release: Download from GitHub Releases

Usage

Command Description
mark Bookmark current directory using folder name
mark <name> Bookmark current directory with custom name
mark <name> <path> Bookmark a specific path
mark -l List all bookmarks
mark -d <name> Delete a bookmark
mark -j <name> Print bookmark path (used by jump)
mark --config Re-run setup (completion, aliases)

Aliases (after running mark --alias):

  • marksmark -l
  • unmarkmark -d
  • jumpmark -j with cd

Philosophy

  • No databases — just symlinks in ~/.marks/
  • No lock-in — bookmarks are plain symbolic links
  • No dependencies — single static binary
  • No sync — use git, Dropbox, or any tool you prefer

Development

make build      # build binary
make test       # run all tests
make help       # see all targets

License

GPL-3.0 — See COPYING.md

Links: Repository · Issues · Releases

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors