Settings

Theme

A Comma and a Question Mark, Redux: Quick Terminal Helpers Using Pi

z3ugma.github.io

40 points by z3ugma 22 days ago · 11 comments

Reader

remilouf 20 days ago

Rémi here, really cool! It kind of turned into a rabbit hole on my end: https://github.com/rlouf/sigil

sync 20 days ago

Nice ideas! I've been using the `?` shortcut in atuin [0] which accomplishes the same sort of thing, but these days also has access to an Agent-like experience which allows me to prompt something like "Conventional Commit message for unstaged changes" and it will call `git diff` (after asking permission, of course) and then generate the commit message.

[0] https://atuin.sh

chrisshroba 20 days ago

I have something similar, but it's a shell command which writes the command into a file then runs `print -z "$(cat /tmp/command.txt)"`, which prints the command directly to the command line input, so there's no copy paste step needed, it's just ready for me to hit enter (or adjust as needed). It's been wonderful!

foobarqux 20 days ago

llm-cmd-comp is the best of these types of tools.

https://github.com/CGamesPlay/llm-cmd-comp

krupan 19 days ago

"The comma is slightly safe..."

Lol! Good acknowledgement of the safety situation there. I suppose you might remember what the command and flags mean once you see them, but if not then you are blindly trusting the that the LLM isn't going to do anything bad to your machine

guluarte 20 days ago

I've been using something like this with shelloracle

gcr 20 days ago

Nifty! What pi extensions provide the batch web fetch?

christoff12 20 days ago

very cool, indeed

Keyboard Shortcuts

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