From eec51b1fb519e93d80199190607c3e41242e2336 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 16 Sep 2025 21:46:06 +0200 Subject: [PATCH] Add a migration to ensure that ghostty and kitty configs are available if someone switches over --- migrations/1758051607.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 migrations/1758051607.sh diff --git a/migrations/1758051607.sh b/migrations/1758051607.sh new file mode 100644 index 0000000..0414c6c --- /dev/null +++ b/migrations/1758051607.sh @@ -0,0 +1,9 @@ +echo "Copy configs for ghostty + kitty so they're available as alternative terminal options" + +if [[ ! -f ~/.config/ghostty/config ]]; then + cp -Rpf $OMARCHY_PATH/config/ghostty/config ~/.config/ghostty/config +fi + +if [[ ! -f ~/.config/kitty/kitty.conf ]]; then + cp -Rpf $OMARCHY_PATH/config/kitty/kitty.conf ~/.config/kitty/kitty.conf +fi