Fix Neovim theme symlink pointing at the Omarchy 4 theme location (#6318)

* Address upgrade migration review feedback

* Only promote firmware during kernel transitions

* Remove the dropped packages preventing installation

* Fix Neovim theme symlink pointing at the Omarchy 4 theme location

omarchy-nvim briefly created ~/.config/nvim/lua/plugins/theme.lua linked
to ~/.local/state/omarchy/current, which doesn't exist on Omarchy 3.x,
so fresh installs errored on nvim startup with "Failed to load
plugins.theme" (#6309). Retarget the link to ~/.config/omarchy/current
unless the user has already customized it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Fable 5 committed 2026-07-19 22:34:08 -07:00
1 parent bec26eeab9
commit 94305c9284
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
echo "Point the Neovim theme symlink at the Omarchy 3.x theme location"
# omarchy-nvim briefly created ~/.config/nvim/lua/plugins/theme.lua linked to
# the Omarchy 4 theme location, which doesn't exist on Omarchy 3.x, so Neovim
# failed to load plugins.theme on startup (#6309). Retarget the link to the
# 3.x location, but leave any customized link alone.
theme_link="$HOME/.config/nvim/lua/plugins/theme.lua"
if [[ -L $theme_link && $(readlink "$theme_link") == *.local/state/omarchy/current/theme/neovim.lua ]]; then
ln -snf "../../../../.config/omarchy/current/theme/neovim.lua" "$theme_link"
fi