There are a lot of plugin managers for fish. To name a few:
Each plugin has a folder structure that was made for use with one specific plugin manager. This little piece of code solves that by combining the locations of all plugin managers, allowing you to use any plugin without issues.
Copy the code over to your ~/.config/fish/config.fish
, and git clone
the plugins you want to use to ~/.local/share/fish/plugins/
.