Protect against ctrl-c

This commit is contained in:
David Heinemeier Hansson 2024-06-03 19:18:44 -07:00
parent 851014f231
commit 90f49554df

View File

@ -4,6 +4,8 @@ set -e
# Pick a preconfigured theme
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" --height 5 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
[ ! -n "$THEME" ] && exit 0
# Install theme in Gnome, Terminal, and both default editors
source $OMAKUB_PATH/themes/gnome/$THEME.sh
cp $OMAKUB_PATH/themes/alacritty/$THEME.toml ~/.config/alacritty/theme.toml