Skip to content

A terminal command bookmarking tool written in Rust using ratatui

License

Notifications You must be signed in to change notification settings

daverodger/oh-hai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oh-hai

A terminal command bookmarking tool written in Rust using ratatui.

Keybindings available for bash, zsh, and nushell.

Heavily inspired by tbmk.

oh-hai demo

Usage

  • search (get): ctrl + g
  • delete: ctrl + d
  • insert (bookmark): ctrl + b

The command-line buffer is copied into the search field (search mode) or the command field (insert mode).

Build and Install

You'll need the rustc and cargo which are best installed using rustup

  1. Run ./build and move the newly generated /oh_hai directory to its new home
  2. cd into the app directory and run ./install
  3. Restart shell or source config file

Bookmarks are saved into ./data/bookmarks.json for manual editing.

If you need to move the app directory, run ./install again after moving.

Todo

  • Additional shell support
  • Any testing at all would be an improvement

About

A terminal command bookmarking tool written in Rust using ratatui

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published