Settings

Theme

Zsh-halfpipe: Edit shell pipeline and see its output update live

github.com

4 points by raimo a month ago · 1 comment

Reader

raimoOP a month ago

Edit shell pipeline and see its output update live, without re-running the upstream side.

1. Pipeline source is cached in a temporary file, reducing the need to repeatedly fetch from an online source until sed/grep filters are correct. Pressing enter will still create the result, saving command in your command history for later use. 2. Written originally for my own use when I fetched remote lists e.g. using GCP tools or cURL and when I had to get sed commands right to format the output. zsh-halfpipe lets you iterate on filters, regexes, and other pipeline stages in place by pressing Ctrl-G. 3. Supports infinite amount of pipe (|) delimited segments.

Name comes from author being an aspiring snowboarder!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection