Hacker News new | ask | show | jobs
by OJFord 2460 days ago
This looks cool, a common workflow of mine is `cmd --blah --blah ` ah damn I don't know the value for blah, okay, fzf ` --blah=(blahgen | fzf) ` oh I'm also missing [...]

This seems like it can help do the same thing more quickly, so I'm keen to give it a go.

I do like shell history though, a shame to just have a bunch of `navi` entries - I wonder if it could be faked; populated with the chosen command afterwards?

2 comments

I could write a zsh/bash plug-in so that it fills the prompt instead of running the command, in the same manner as ctrl-r. What do you think?
That would make the difference between me using this tool and not using this tool. Losing my shell history isn't worth a momentary ergonomics gain.
Oh, you just gave me an idea of turning fzf into a filter for $CMD --help. I need to try this.