jorgebucaran / fisher

A plugin manager for Fish
https://git.io/fisher
MIT License
7.53k stars 257 forks source link

7c4024da667a889c7b4e2146040324f763c33c86 breaks local plugins on case-sensitive filesystems #723

Closed nathanchance closed 2 years ago

nathanchance commented 2 years ago

After 7c4024da667a889c7b4e2146040324f763c33c86, I can no longer install a local plugin that has a capital letter in the path, as test -e $plugin will always fail and attempt to download the plugin from GitHub.

$ fisher install $HOME/Dev/github/env/fish
fisher install version 4.4.2
Fetching https://api.github.com/repos//home/nathan/dev/github/env/fish/tarball/HEAD
fisher: Invalid plugin name or host unavailable: "/home/nathan/dev/github/env/fish"
jorgebucaran commented 2 years ago

Thanks for the bug report! I think I just fixed it. Please update and try again. 🙏

nathanchance commented 2 years ago

Looks good to me, thank you a lot for the quick response and fix!