From cf4935f964534a87a48f025adce1b5c6a08771f3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 17 May 2026 12:33:29 +0200 Subject: [PATCH] Use existing mechanism --- bin/omarchy-refresh-shell | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bin/omarchy-refresh-shell b/bin/omarchy-refresh-shell index e462f576..9d0823f1 100755 --- a/bin/omarchy-refresh-shell +++ b/bin/omarchy-refresh-shell @@ -3,15 +3,4 @@ # omarchy:summary=Reset shell.json to Omarchy defaults # omarchy:examples=omarchy refresh shell -set -e - -USER_CONFIG="$HOME/.config/omarchy/shell.json" - -# Removing the user file lets the running shell fall back to shell-defaults.json -# via its FileView watcher. The next shell start will also use the defaults. -if [[ -f $USER_CONFIG ]]; then - backup="$USER_CONFIG.bak.$(date +%s)" - cp "$USER_CONFIG" "$backup" - echo "Backed up user shell config to $backup" - rm -f "$USER_CONFIG" -fi +omarchy-refresh-config omarchy/shell.json