Add migration for COPY mode indicator

This commit is contained in:
David Heinemeier Hansson
2026-03-15 19:40:00 +01:00
parent 24afb3e669
commit 5545cbf2ef
+8
View File
@@ -0,0 +1,8 @@
echo "Add COPY mode indicator to tmux status bar"
if [[ -f ~/.config/tmux/tmux.conf ]]; then
if ! grep -q "pane_in_mode" ~/.config/tmux/tmux.conf; then
sed -i 's/#{?client_prefix/#{?pane_in_mode,COPY ,}#{?client_prefix/' ~/.config/tmux/tmux.conf
omarchy-restart-tmux
fi
fi