Live data from Hacker News

Fzf – a command-line fuzzy finder

github.com

11–20 of 93 posts

Re: Fzf – a command-line fuzzy finder

#12
Once I installed fzf.fish[0], my command line experience was radically changed for the better. The goodness of fish’s command line with search ability from fzf and seeing context from bat. Great for searching your history, commit hashes, variable names, and just about everything else.

[0] https://github.com/PatrickF1/fzf.fish

Re: Fzf – a command-line fuzzy finder

#13

Earlier quoted context omitted.

I'm not trying to troll you or be annoying or get off my lawn kinda thing right, but seriously, what the fuck is the point of oh-my-zsh? I still use ksh these days (actually, the openbsd version, even on linux) and it behaves EXACTLY the same way as a bash shell to the uninitiated (ctrl+r, fc -l, etc etc etc).. I have some little shell functions that I use for things, like 'git_branch()' which I use with some aliases…

You are asking the point of omz and saying ksh has the same features as zsh omz is a tool for zsh users, that is its purpose in life Zsh has a lot more features than ksh, the functionality ksh has is the lower bound if it works for you great If you enjoy DIY writing 200 aliases great, zsh like bash is more than path autocomplete and aliases it’s a lot more

I think @cyberpunk is reacting to the complexity of zsh versus more traditional shells. For some value of traditional.

I look at zsh alias features and my head explodes a bit. The glob patterns can get so complex, they look like Perl or sendmail config strings.

Re: Fzf – a command-line fuzzy finder

#15
I have been really inspired by 'fzf' recently. Wrote a fun little ZFS utility[0] which I intended to just script with 'fzf', but have since found skim[1], or 'sk', and now use it both as my sole fuzzy finder app (because it's supposed to be interactive and it's faster!), and as a library for my little utility.

I like them both for making fun zsh key bindings, so, so easy.

[0]: https://github.com/kimono-koans/httm [1]: https://github.com/lotabout/skim

Re: Fzf – a command-line fuzzy finder

#16

Earlier quoted context omitted.

This is one of the first things I install on a new machine after oh-my-zsh

I'm not trying to troll you or be annoying or get off my lawn kinda thing right, but seriously, what the fuck is the point of oh-my-zsh? I still use ksh these days (actually, the openbsd version, even on linux) and it behaves EXACTLY the same way as a bash shell to the uninitiated (ctrl+r, fc -l, etc etc etc).. I have some little shell functions that I use for things, like 'git_branch()' which I use with some aliases…

> I have some little shell functions that I use for things, like 'git_branch()' which I use with some aliases (I have >200 shell aliases)..

I think you may have just answered your own question -- it includes ready-made shell themes and plugins. Not everyone wants to work that hard (including me!).

Re: Fzf – a command-line fuzzy finder

#17
post #2

Extremely valuable tool that I use nearly every day. Also check out the vim plugin: https://github.com/junegunn/fzf.vim .

It’s great how scriptable it is. E.g. it’s relatively easy to use it with kubectl to to browse and inspect k8s resources. Any command where you might be generating a long list of items you then want to select from can probably benefit from being piped into fzf.

Have started using kubectl lately, and would be interested to know how you use fzf. I’m finding I have to do a lot to copying and pasting of pod names in between commands.

Re: Fzf – a command-line fuzzy finder

#18
An awesome use case for fzf is to use it as a selector for a bunch of lines of text. So we have a script that gets the latest docker images and then we pipe it to fzf allowing you to select which one of them you want to use.

Just a small thing to add on to the awesomeness that is fzf!

Re: Fzf – a command-line fuzzy finder

#19
This tool isn't "news", it's been a staple of my environment for years, but it's trending so upvoted. I use fzf everywhere, it's greatly enhanced my workflow. Recommend fzf-tab to use fzf for zsh autocompletion.
Post reply on HN