brgmnn / fish-docker-compose

Fish shell completions for docker-compose
MIT License
74 stars 10 forks source link

install using fisher #3

Closed edouard-lopez closed 8 years ago

edouard-lopez commented 8 years ago

I'm using fisher as package manager for my fish and get:

fisher install brgmnn/fish-docker-compose
Installing plugin/s
      docker-compose
No command 'fundle' found, did you mean:
 Command 'bundle' from package 'bundler' (universe)
fundle: command not found
~/.config/fisherman/conf.d/docker-compose.init.fish (line 1): fundle plugin 'tuvistavie/fish-completion-helpers'
                                                              ^
from sourcing file ~/.config/fisherman/conf.d/docker-compose.init.fish
        called on line 2 of file ~/.local/share/fisherman/functions/__fisher_plugin_source.fish

in function “__fisher_plugin_source”
        called on line 33 of file ~/.local/share/fisherman/functions/__fisher_plugin_enable.fish
        with parameter list “docker-compose /home/elopez/.config/fisherman/conf.d/docker-compose.init.fish”

in function “__fisher_plugin_enable”
        called on line 48 of file ~/.local/share/fisherman/functions/fisher_install.fish
        with parameter list “docker-compose /home/elopez/.config/fisherman/cache/docker-compose”

in function “fisher_install”
        called on line 1 of file -
        with parameter list “brgmnn/fish-docker-compose”

from sourcing file -
        called on line 60 of file /usr/share/fish/functions/eval.fish

in function “eval”
        called on line 51 of file ~/.local/share/fisherman/functions/fisher.fish

in function “fisher”
        called on standard input
        with parameter list “install brgmnn/fish-docker-compose”

1 plugin/s installed (4s)
brgmnn commented 8 years ago

Try again now, I removed the init.fish file as I have the dependency function already in the completion file.

edouard-lopez commented 8 years ago

Same result

fisher install brgmnn/fish-docker-compose
No command 'fundle' found, did you mean:
 Command 'bundle' from package 'bundler' (universe)
fundle: command not found
~/.config/fisherman/conf.d/docker-compose.init.fish (line 1): fundle plugin 'tuvistavie/fish-completion-helpers'
                                                              ^
from sourcing file ~/.config/fisherman/conf.d/docker-compose.init.fish
        called on line 2 of file ~/.local/share/fisherman/functions/__fisher_plugin_source.fish

in function “__fisher_plugin_source”
        called on line 33 of file ~/.local/share/fisherman/functions/__fisher_plugin_enable.fish
        with parameter list “docker-compose /home/elopez/.config/fisherman/conf.d/docker-compose.init.fish”

in function “__fisher_plugin_enable”
        called on line 47 of file ~/.local/share/fisherman/functions/fisher_install.fish
        with parameter list “docker-compose /home/elopez/.config/fisherman/cache/docker-compose”

in function “fisher_install”
        called on line 1 of file -
        with parameter list “brgmnn/fish-docker-compose”

from sourcing file -
        called on line 60 of file /usr/share/fish/functions/eval.fish

in function “eval”
        called on line 51 of file ~/.local/share/fisherman/functions/fisher.fish

in function “fisher”
        called on standard input
        with parameter list “install brgmnn/fish-docker-compose”

1 plugin/s installed (1s)
brgmnn commented 8 years ago

Did you update the plugin? Because I removed the init.fish script and it looks like it's still trying to execute that file.

edouard-lopez commented 8 years ago

@brgmnn indeed, 'fisherman' was still using it's cache, I had to remove it with:

rm ~/.config/fisherman/cache/docker-compose/ -rf

and re-run the install:

fisher install brgmnn/fish-docker-compose
Installing plugin/s
      docker-compose
1 plugin/s installed (2s)
brgmnn commented 8 years ago

Brilliant! I'm glad the issue was resolved. :)