mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Use consistent bash5 style for conditionals and quoting
This commit is contained in:
+2
-2
@@ -10,12 +10,12 @@ mkdir -p "$STATE_DIR"
|
||||
COMMAND="$1"
|
||||
STATE_NAME="$2"
|
||||
|
||||
if [[ -z "$COMMAND" ]]; then
|
||||
if [[ -z $COMMAND ]]; then
|
||||
echo "Usage: omarchy-state <set|clear> <state-name-or-pattern>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$STATE_NAME" ]]; then
|
||||
if [[ -z $STATE_NAME ]]; then
|
||||
echo "Usage: omarchy-state $COMMAND <state-name>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user