Completion should not include --help

This commit is contained in:
David Heinemeier Hansson
2026-05-01 18:03:12 +02:00
parent f02305ecd8
commit b0ab9782d6
-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"))