Skip to content

Fix omarchy-theme-install not lowercasing theme name#5392

Merged
dhh merged 1 commit into
basecamp:devfrom
endafk:fix-theme-install-lowercase
Apr 22, 2026
Merged

Fix omarchy-theme-install not lowercasing theme name#5392
dhh merged 1 commit into
basecamp:devfrom
endafk:fix-theme-install-lowercase

Conversation

@endafk
Copy link
Copy Markdown
Contributor

@endafk endafk commented Apr 22, 2026

Fixes #5250.

omarchy-theme-set normalizes theme names to lowercase before looking them up:

THEME_NAME=$(echo "$1" | sed -E 's/<[^>]+>//g' | tr '[:upper:]' '[:lower:]' | tr ' ' '-')

omarchy-theme-install didn't do the same when deriving the name from the repo URL, so it cloned into a mixed-case directory that theme-set then couldn't find.

One pipe added to match the behaviour.

Copilot AI review requested due to automatic review settings April 22, 2026 16:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dhh dhh merged commit f9f0858 into basecamp:dev Apr 22, 2026
@endafk endafk deleted the fix-theme-install-lowercase branch April 22, 2026 22:20
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.

omarchy-theme-install should lowercase directory name to match omarchy-theme-set

3 participants