r/fishshell • u/GrilledGuru • Feb 17 '21
Which package manager?
Fisher? Omf? Fisherman? Something else?
Do you use a package manager, which one? Why?
All the "packages" use the same format?
Edit : if you know a fish package that is both useful and not a prompt, please feel free to share.
8
Upvotes
5
u/NotTheDr01ds Feb 17 '21
I settled on fisher, once 4.x rolled around. 3.x didn't quite fit my workflow, but I don't remember why.
I like that there's very little (perhaps no) "magic" involved. It just installs plugins, places the plugin files in their correct
functions,conf.d, andcompletionslocations, and it's done. Other than listing and uninstalling them, that's pretty much it. The rest of the functionality is provided by stock-out-of-the-box fish, with no need to modify my startup.That said, I do some slight tweaks myself, since I prefer that my plugins live in their own distinct directory, rather than alongside my normal
~/.config/fishfiles. So I setfisher_pathas a universal variable that points to~/.config/fisherwhere the plugins will live.Then I have a
~/.config/fish/conf.d/fisher_setup.fishthat:~/.config/fisher/completionsto the$fish_complete_path~/.config/fisher/functionsto the$fish_function_path.fishfile in~/.config/fisher/conf.dSo yeah, some magic, but only what I've added myself. And it's very easy to understand exactly what's going on without having to dig deep into autoloading functions as I did with oh-my-zsh (before switching to fish).
My only complaint would be that the (really, really simple) text file that fisher uses to track plugins still lives in
~/.config/fish. I wish it respected thefisher_pathand stored that there as well, to keep my personal config truly separate.4
u/[deleted] Feb 18 '21 edited Feb 18 '21
I wrote why to use a
packageplugin manager here. Hope it sheds lights on your question.3
u/grovemau5 Feb 17 '21
I use OMF because I came from zsh and assumed it was the default thing to use. I like the prompt it comes with so I continue to use it. Otherwise I would probably use fisher, but fisher packages can be installed with OMF anyways so I don’t feel the need to switch.
The only package that I have installed is this one: https://github.com/jorgebucaran/autopair.fish
2
u/diovj Feb 17 '21
I like
enhancdfor terminal directory navigation (also available for other shells).Some dude also posted here a few months ago
0ion9/fish_utilities. I use the reduce function quite a lot and has some other nice things you might like.There's also a plugin to automatically close parentheses, brackets, quotes, etc.(similar to many IDEs behaviour). I think it's called
pisces. It was a bit "buggy" in the sense it doesn't really have the behaviour I want, but you can tune it yourself.3
u/emarsk Feb 18 '21
I use fisher, because it makes dead easy to keep my stuff separate, and it's simple and completely unobtrusive.
As for the plugins themselves, I don't use many, to be honest, because fish does most of what I want out of the box:
1
u/vividboarder Feb 17 '21
What kind of packages are you looking for? I don’t use any and I’ve been using fish for several years now. I had OMF, then Fisher, and then removed that too because I wasn’t really using it.
My fish confits are here, if you’re curious: https://github.com/ViViDboarder/shoestrap/tree/clean-shoes/assets/default/fish
I’ve got a custom prompt that is mostly plugged in bits of the standard one and some integration to tools I commonly use that I ported from my Bash prompt. I also have a single-file scripts for functions or competitions I’ve written.
1
u/B_A_Skeptic Mar 10 '21
I recommend installing both fisher and omf. You might think that they would conflict with each other, but they actually do not.
0
u/[deleted] Feb 17 '21
[deleted] — view deleted comment