mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Completion should not include --help
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user