
🍾 linippet
linppet is tui tool which generate command from pre-registered your snipppet for bash/zsh.
You can register snippet have dynamic arguments.

Installation
1. Install binary
Shell script (Linux/macOS)
curl -sSfL https://raw.githubusercontent.com/muleyuck/linippet/main/install.sh | sh
Go
go install github.com/muleyuck/linippet@latest
Homebrew
brew install muleyuck/tap/linippet
Or, download binary from Releases
2. Setup you shell
zsh
eval "$(linippet init zsh)"
bash
eval "$(linippet init bash)"
Get Started
Quick Start
- Please enter a snippet which you want to use in Modal Tui
linippet create
- Choose your registered snippet. Then the snippet will be evaluated in your shell.
lip
If you don't want the selected snippet to be evaluated, you can only output to stdout with the following command.
linippet
Triggered by a bind key
export LINIPPET_TRIGGER_BIND_KEY environment value. For example: ^o
export LINIPPET_TRIGGER_BIND_KEY="^o"
linippet will be triggered when press ^o key. And your selected snippet will set current readline on shell.
CRUD snippet
linippet [create|edit|remove]
Inspired by
linippet inspired by Warp workflow
LICENCE
The MIT Licence