Hacker News Viewer

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

by z3ugma on 5/25/2026, 7:14:45 PM

https://z3ugma.github.io/2026/05/25/a-comma-and-a-question-mark/

Comments

by: sync

Nice ideas! I&#x27;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 &quot;Conventional Commit message for unstaged changes&quot; and it will call `git diff` (after asking permission, of course) and then generate the commit message.<p>[0] <a href="https:&#x2F;&#x2F;atuin.sh" rel="nofollow">https:&#x2F;&#x2F;atuin.sh</a>

5/27/2026, 5:50:48 PM


by: chrisshroba

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

5/27/2026, 6:29:16 PM


by: remilouf

Rémi here, really cool! It kind of turned into a rabbit hole on my end: <a href="https:&#x2F;&#x2F;github.com&#x2F;rlouf&#x2F;sigil" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rlouf&#x2F;sigil</a>

5/27/2026, 6:55:13 PM


by: guluarte

I&#x27;ve been using something like this with shelloracle

5/27/2026, 6:27:26 PM