Go to file
2016-05-07 19:12:59 +09:00
docs Words. 2016-05-06 01:22:52 +09:00
test Ahoy my mateys! fisherman 2.0.0 (beta) is here. 2016-04-22 00:34:06 +09:00
.gitignore Don't return npm-debug.log calls. 2016-04-23 22:28:12 +09:00
.travis.yml Ahoy my mateys! fisherman 2.0.0 (beta) is here. 2016-04-22 00:34:06 +09:00
fisher.fish Persist completions across sessions. Close #262. 2016-05-07 19:12:13 +09:00
LICENSE Ahoy my mateys! fisherman 2.0.0 (beta) is here. 2016-04-22 00:34:06 +09:00
README.md Simplify, remove hard to maintain numbers. 2016-05-07 19:12:59 +09:00

Build Status Slack

fisherman

A plugin manager for fish.

Translations: 日本語, 简体中文, 한국어, Русский, Català, Português, Español.

Features

  • Zero configuration

  • No external dependencies

  • No impact on shell startup time

  • Only the essentials, install, update, remove, list and help

Install

curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman

Usage

Install a plugin.

fisher simple

Install from multiple sources.

fisher z fzf edc/bass omf/tab

Install a gist.

fisher https://gist.github.com/username/1f40e1c6e0551b2666b2

Install a local directory.

fisher ~/plugin

Edit your fishfile and run fisher to satisfy changes.

$EDITOR ~/.config/fish/fishfile
fisher

List what you've installed.

fisher ls
@ plugin     # a local directory
* simple     # the current prompt
  bass
  fzf
  tab
  z

List everything that's available.

fisher ls-remote

Update everything.

fisher up

Update some plugins.

fisher up bass z fzf

Remove plugins.

fisher rm simple

Remove all the plugins.

fisher ls | fisher rm

Get help.

fisher help z

Uninstall fisherman.

fisher self-uninstall

FAQ

What is the required fish version?

>=2.2.0.

For snippet support, upgrade to >=2.3.0 or append the following code to your ~/.config/fish/config.fish.

for file in ~/.config/fish/conf.d/*.fish
    source $file
end

Is fisherman compatible with oh-my-fish themes and plugins?

Yes.

Where does fisherman put stuff?

The cache and configuration go in ~/.cache/fisherman and ~/.config/fisherman respectively.

The fishfile is saved to ~/.config/fish/fishfile.

What is a fishfile and how do I use it?

The fishfile ~/.config/fish/fishfile lists all the installed plugins.

You can let fisherman take care of this file for you automatically, or write in the plugins you want and run fisher to satisfy the changes.

This mechanism only installs plugins and missing dependencies. To remove plugins, use fisher rm.

What is a plugin?

A plugin is:

  1. a directory or git repo with one or more .fish functions either at the root level of the project or inside a functions directory

  2. a theme or prompt, i.e, a fish_prompt.fish, fish_right_prompt.fish or both files

  3. a snippet, i.e, one or more .fish files inside a directory named conf.d, evaluated by fish at the start of the session

How can I list plugins as dependencies to my plugin?

Create a new fishfile file at the root level of your project and write in the plugins you'd like to depend on.