From 610ec4a3980f40cf5c38d1a946b78eb3d44ae022 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 10 Aug 2025 20:09:03 +0200 Subject: [PATCH] Fix indentation --- bin/omarchy-state | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/bin/omarchy-state b/bin/omarchy-state index 3dfaaa99..eec79584 100755 --- a/bin/omarchy-state +++ b/bin/omarchy-state @@ -7,23 +7,23 @@ COMMAND="$1" STATE_NAME="$2" case "$COMMAND" in - set) - if [[ -z "$STATE_NAME" ]]; then - echo "Usage: omarchy-state set " >&2 - exit 1 - fi - touch "$STATE_DIR/$STATE_NAME" - ;; - clear) - if [[ -z "$STATE_NAME" ]]; then - echo "Usage: omarchy-state clear " >&2 - exit 1 - fi - # Use find with -maxdepth 1 to match files in STATE_DIR - find "$STATE_DIR" -maxdepth 1 -type f -name "$STATE_NAME" -delete - ;; - *) - echo "Usage: omarchy-state " >&2 - exit 1 - ;; +set) + if [[ -z "$STATE_NAME" ]]; then + echo "Usage: omarchy-state set " >&2 + exit 1 + fi + touch "$STATE_DIR/$STATE_NAME" + ;; +clear) + if [[ -z "$STATE_NAME" ]]; then + echo "Usage: omarchy-state clear " >&2 + exit 1 + fi + # Use find with -maxdepth 1 to match files in STATE_DIR + find "$STATE_DIR" -maxdepth 1 -type f -name "$STATE_NAME" -delete + ;; +*) + echo "Usage: omarchy-state " >&2 + exit 1 + ;; esac