Skip to content

Conversation

@furudean
Copy link

@furudean furudean commented Sep 30, 2025

Add support to fetch plugins from arbitrary git hosts via git clone. It will use whatever the user's git config is to clone things.

These patterns are now possible:

fisher install https://git.sr.ht/~jlkde/note.fish
fisher install [email protected]:himawari.fun/bugstyle.fish
fisher install [email protected]:meaningful-ooo/[email protected]

We assume that any URL that doesn't match existing officially supported git hosts like github user/repo(@ref)? or (https?://)?gitlab.com/* is a git host.

I have tested this with these plugins:

jethrokuan/z
https://github.com/jorgebucaran/spark.fish.git
gitlab.com/mirdono/tucker
[email protected]:meaningful-ooo/[email protected]
[email protected]:himawari.fun/bugstyle.fish
https://git.sr.ht/~jlkde/note.fish

Fixes #801
Maybe fixes #745 as requests can be authenticated using ssh

@furudean furudean changed the title arbitrary git urls Support arbitrary git hosts Sep 30, 2025
@furudean furudean marked this pull request as ready for review September 30, 2025 06:46
@bdmorin
Copy link

bdmorin commented Nov 17, 2025

I just took a stab at this, didn't see your PR, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support git.sr.ht

2 participants