edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.2k stars 70 forks source link

fisher: I couldn't find `bass` in the index. #27

Closed kWhittington closed 7 years ago

kWhittington commented 8 years ago

Hey guys,

I'm using fish shell w/fisherman. When I attempted to follow the instructions on your README.md, I ran into an error:

» fisher install bass
fisher: I couldn't find 'bass' in the index
No plugins were installed

Any idea why fisherman might not be able to see bass?

ghost commented 8 years ago

Hi @kWhittington, there was a major version bump recently.

Please upgrade to 2.0 (fisherman).

The following script will fix you up quickly (from scratch):

curl -L git.io/fisher-up-me | fish

If you are unsure about that, please check out the README for other instructions.

When you're done with that you should be able to install bass as usual.

kWhittington commented 8 years ago

Thx. I upgraded and temporarily had my configuration disabled (because of the .config/fisherman copying to fisherman-you-can-delete-me). Do you suggest only keeping configuration (e.g. conf.d, functions, etc.) within .config/fish/ and not .config/fisherman/?

Anyway, upgraded and still had a slight hiccup installing bass:

» fisher install bass
INFO Installing 1 plugin/s
ARGH Fetching bass → github.com/fisherman/bass
ARGH There was an error cloning bass or more plugin/s.
INFO Try using a namespace before the plugin name: omf/bass
kwhittin at Kyles-MacBook-Pro in ~/.config
» fisher install edc/bass
INFO Installing 1 plugin/s
OKAY Fetching bass → github.com/edc/bass
OKAY Done in 975ms

I was thrown off at first by the Try using a namespace before the plugin name: omf/bass. I thought it was telling me to use omf/bass but after that error'd, searching on GitHub gave me the right repo.

Thx for the help.

ghost commented 8 years ago

Do you suggest only keeping configuration (e.g. conf.d, functions, etc.) within .config/fish/ and not .config/fisherman/?

Yep. Your fisherman config ~/.config/fisherman should only keep installed plugins now and your fish config should be the usual one that comes out of the box with fish.

Ah, yes we are not using an index anymore, so need to prepend the full namespace to the plugin.

I asked edc to join the fisherman org here https://github.com/edc/bass/issues/29 for discoverability, but no luck haha.

Let me know if you have any other issues.

@edc I think you can close this.