feat: add support for SSH git URLs when installing themes #3916
+15
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this does
Adds support for installing Omarchy themes from SSH (scp-style) Git repository URLs and clarifies the accepted URL formats in the prompt.
Why
Previously, the theme installer only worked correctly with HTTPS Git URLs. Providing an SSH URL such as
[email protected]:org/omarchy-foo-theme.gitresulted in an incorrect theme name and install path.Supporting SSH URLs makes it easier for contributors and users who rely on SSH-based Git workflows.
Changes
git@host:org/repo.git) when deriving the theme name.basenameto ensure correct theme directory naming.gum inputplaceholder to explicitly document supported Git URL formats.omarchy-prefix and-themesuffix removal).Examples
https://github.com/org/omarchy-foo-theme.git→~/.config/omarchy/themes/foo[email protected]:org/omarchy-foo-theme.git→~/.config/omarchy/themes/fooNotes