Completion should not include --help

This commit is contained in:
David Heinemeier Hansson
2026-05-01 18:04:42 +02:00
parent eeb409588a
commit 7f1071298c
-4
View File
@@ -40,10 +40,6 @@ _omarchy_complete() {
candidates+=("--all" "--json" "--markdown" "--check")
fi
if [[ -x $bin_dir/$prefix || ${#candidates[@]} -gt 0 ]]; then
candidates+=("--help")
fi
if (( ${#candidates[@]} > 0 )); then
local IFS=$'\n'
COMPREPLY=($(compgen -W "${candidates[*]}" -- "$cur"))