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 authored and GitHub committed 2026-07-19 21:59:10 -07:00
1 parent c8d0032d81
commit 8e43c97610
4 files changed
+31 -10

No files matched your search

+19 -3
View File
@@ -1,16 +1,32 @@
echo "Add easier tmux pane controls with Alt+Enter splits and CSI-u Shift+Enter across terminals"
# tmux: add M-Enter/M-S-Enter/M-Escape pane bindings and enable extkeys for kitty terminal
# tmux: add pane bindings, enable kitty extkeys, and set informative terminal titles
tmux_config="$HOME/.config/tmux/tmux.conf"
if [[ -f $tmux_config ]]; then
if ! grep -q "M-S-Enter" "$tmux_config"; then
sed -i '/^# Pane Controls$/a\bind -n M-Enter split-window -v -c "#{pane_current_path}"\nbind -n M-S-Enter split-window -h -c "#{pane_current_path}"\nbind -n M-Escape kill-pane\n' "$tmux_config"
if ! grep -Fq 'bind -n M-Escape kill-pane' "$tmux_config"; then
sed -i '/^# Pane Controls$/a\bind -n M-Escape kill-pane' "$tmux_config"
fi
if ! grep -Fq 'bind -n M-S-Enter split-window' "$tmux_config"; then
sed -i '/^# Pane Controls$/a\bind -n M-S-Enter split-window -h -c "#{pane_current_path}"' "$tmux_config"
fi
if ! grep -Fq 'bind -n M-Enter split-window' "$tmux_config"; then
sed -i '/^# Pane Controls$/a\bind -n M-Enter split-window -v -c "#{pane_current_path}"' "$tmux_config"
fi
if ! grep -q "xterm-kitty:extkeys" "$tmux_config"; then
sed -i '/^set -g extended-keys-format csi-u$/a\set -ag terminal-features "xterm-kitty:extkeys"' "$tmux_config"
fi
if ! grep -Fq 'set -g set-titles on' "$tmux_config"; then
sed -i "/^set -gw automatic-rename-format/a\\set -g set-titles on" "$tmux_config"
fi
if ! grep -Fq 'set -g set-titles-string' "$tmux_config"; then
sed -i "/^set -g set-titles on$/a\\set -g set-titles-string '#h:#W'" "$tmux_config"
fi
omarchy-restart-tmux
fi