4 ms·
Extremely valuable tool that I use nearly every day. Also check out the vim plugin: https://github.com/junegunn/fzf.vim https://github.com/junegunn/fzf.vim.
by sxg 5y ago
Extremely valuable tool that I use nearly every day. Also check out the vim plugin: https://github.com/junegunn/fzf.vim https://github.com/junegunn/fzf.vim.
- harrychin2 5y agoThis is one of the first things I install on a new machine after oh-my-zsh
- cyberpunk 5y agoI'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 >200 shell aliases).. ZSH has a fucking ftp client in it right? And it still just behaves like bash? What does it do on top? Am I missing something? :}
- mustache_kimono 5y ago> 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!).
- zaphirplane 5y agoYou 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
- watersb 5y agoI 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.
- pizza 5y agoFor me, the few plugins I use have really good/sane defaults so any configuration is minimal (can't even remember configuring any of them, tbh, lol). Mostly I use oh-my-zsh not to improve zsh itself [besides the aussiegeek theme :^)], but to make zsh work more harmoniously with other programs - tmux, git, rg, etc.
- alwillis 5y agoSame.
- michaelbarton 5y agoIt’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.
- jwong_ 5y agoHave 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.
- michaelbarton 5y agoYou can do a fair amount of stuff with k9s, which is a nice tool. But if you need to to do something more specialized you can pipe the output of a kubectl command into fzf and then use the ‘describe’ sub command on the selected item returned by fzf. Basically when you need to interact in someway then run a command on the output fzf can be great.
- jwong_ 5y agoAhh, I actually didnt know about that 'describe' command. That helps a lot to get some search terms. Thanks!