Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

tiohsa/bm-bookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookmark   Rust

Bookmark the directory path.

install

$ cargo install --path .

Usage

USAGE:
    bookmark [NAME] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <NAME>    get bookmark by name.

SUBCOMMANDS:
    add       add directory to bookmark
    help      Prints this message or the help of the given subcommand(s)
    remove    remove bookmark

Bookmark file

$HOME/.cache/bm-bookmark

for fish shell

function bm
  set length (count $argv)
  if test $length -eq 0
    bookmark
  else if test $length -eq 1; and  test $argv[1] != "-h"; and test $argv[1] != "--help"; and test $argv[1] != "help"; and test $argv[1] != "-V"; and test $argv[1] != "--version"
    cd (bookmark $argv)
  else
    bookmark $argv
  end
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages