Fisher: (empty) fishfile necessary to install own plugins ?

Created on 4 Apr 2017  路  5Comments  路  Source: jorgebucaran/fisher

I wanted to move my custom fish-aliases to a local plugin, so I created a directory

my-aliases/

  • functions/

    • alias1.fish

    • alias2.fish

Now running fisher my-aliases threw 'no plugins to install or dependencies missing'.
However, adding an empty fishfile to my-aliases solved this.
Is this intended ? (there are plugins without fishfile) Or is there a better way to manage my custom functions (across several computers) ?

Most helpful comment

I'm sorry, I could not reproduce this myself; when I try now everything works as it should. Thanks for your help :)

All 5 comments

@plgruener What's inside alias1.fish and alias2.fish?

Can you share the contents inside those files?

sure, most of them are very simple, like

> cat my-aliases/functions/gc.fish
function gc
  git commit -v $argv
end

and

> cat my-aliases/functions/g.fish
function g -d "run `git status` or `git <args>`"
  if test 0 -eq (count $argv)
    git stat
  else
    git $argv
  end
end

@plgruener This is odd then, those files looks correct. 馃

How I can I repro this?

I'm sorry, I could not reproduce this myself; when I try now everything works as it should. Thanks for your help :)

@plgruener No probs, if you encounter this behavior again, let us know! 馃憢

Was this page helpful?
0 / 5 - 0 ratings