Use arithmetic conditionals for numeric tests in bin

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5 committed 2026-07-24 12:25:20 -07:00
1 parent f15a91cbe2
commit d407454511
7 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
history_index=""
history_path="$HOME/.local/state/omarchy/clipboard-history.json"
while [[ $# -gt 0 ]]; do
while (( $# > 0 )); do
case "$1" in
--history-index)
history_index="${2:-}"