Hacker News new | ask | show | jobs
by 000ooo000 331 days ago
I have a super neat one but it's on my work machine. Not strictly a one-liner but definitely a CLI QoL improvement. It allows me to type a partial command, for e.g. up to where a file path might be, hit a hotkey to invoke (e.g.) fzf, and finally have fzf's output inserted where my cursor was in the command. Uses some vars that readline exposes. I haven't taken it beyond inserting paths yet, but you could imagine you could do a lot with inserting arbitrary output into a command you are midway through typing. I'll reply to this when I have it on hand.
1 comments

> but it's on my work machine

Install Tailscale on your machines, and your work machine is always just one ssh command away.

I am not allowed to install legitimate development tools..