News for hackers. Stuff that matters.
Re:New(ish) command line tools by chrisshroba on Thursday April 14, 2022 @08:29AM (#31025986)
You likely already know this, but just a reminder/tip that bash and zsh will let you edit the current command you’re entering in your editor of choice if you press ctrl+x ctrl+e (without releasing ctrl between). (Note if you’re using zsh without ohmyzsh, you’ll have to enable this manually [1])

[1]: https://nuclearsquid.com/writings/edit-long-commands/

Re:New(ish) command line tools by remram on Saturday April 16, 2022 @12:23PM (#31053607)
I don't see how the shell could know whether you released the Ctrl key?
Re:New(ish) command line tools by chrisshroba on Monday April 18, 2022 @03:11PM (#31075100)
Whoops, you're right, I assumed my muscle memory was the source of truth heh.