r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.36k stars 161 forks source link

Support for fisher custom paths #878

Closed CaptainJawZ closed 2 years ago

CaptainJawZ commented 2 years ago

Hello! So fisher has a feature that allows it to have a custom installation path, defined by the environment variable $fisher_path

If no such variable exists, it defaults to ~/.config/fish/functions/fisher.fish, which is what topgrade already looks for to determine if fisher can run or not.

My suggestion would be, that in addition to searching for the default path, it also looks for the existence of $fisher_path/functions/fisher.fish