quickclip

Crates.ioquickclip
lib.rsquickclip
version0.1.4
sourcesrc
created_at2023-06-30 19:29:46.289823
updated_at2023-07-24 01:08:17.011824
descriptionA CLA that allows you to book mark important directories.
homepage
repositoryhttps://github.com/bobby-palmer/quickclip
max_upload_size
id904904
size472,652
Bobby Palmer (bobby-palmer)

documentation

README

Quickclip

A directory book marker written in rust 🦀!

Demo

Installation

with cargo run : cargo install quickclip
then add your respective shells startup script:

fish
add `quickclip init fish | source` to your config file. this is usually in fish.config
zsh
add `eval "$(quickclip init zsh)"` to your config file. this is usually in .zshrc
bash
add `eval "$(quickclip init bash)"` to your config file. this is usually in .bashrc

Usage

  • add new mark with quickclip {NAME}
    • if NAME is not specified, it will default to the folder name.
  • list all marks with quickclip list
  • remove a clip with quickclip remove {NAME}
  • go to a saved directory with goto {NAME}
    • if NAME is un specified it will open a TUI with all your saved directories

Tips

  • Saving quickclip as an alias for your shell such as alias qc = quickclip
  • create a shell goto function to cd to the output of the quickclip goto command ie (in fish) :
# set to cd using bookmarks
function goto
  set -l path (command quickclip goto $argv)
  cd -- "$path"
end

Roadmap

Eventually I would like to add a fuzzy finder to the tui for selecting the book mark. Currently, though I am more focused on polishing up the current features such as:

  • Better error handling
  • confirming before overwriting a book mark
  • auto creation of the goto shell function
Commit count: 55

cargo fmt