zsh: Fix spelling errors

Signed-off-by: Joey Pabalinas <joeypabalinas@gmail.com>
pull/13457/head
Joey Pabalinas 4 months ago committed by Eli Schwartz
parent 9a6adc1e36
commit 7f5262b483
  1. 6
      data/shell-completions/zsh/_meson

@ -370,7 +370,7 @@ _arguments \
) )
if (( CURRENT == 2 )); then if (( CURRENT == 2 )); then
_describe -t commands "Meson subproject subcommands" commands _describe -t commands "Meson subprojects subcommands" commands
else else
local curcontext="$curcontext" local curcontext="$curcontext"
cmd="${${commands[(r)$words[2]:*]%%:*}}" cmd="${${commands[(r)$words[2]:*]%%:*}}"
@ -381,7 +381,7 @@ _arguments \
_meson-subprojects-$cmd _meson-subprojects-$cmd
fi fi
else else
_message "unknown meson subproject command: $words[2]" _message "unknown meson subprojects command: $words[2]"
fi fi
fi fi
@ -392,7 +392,7 @@ _arguments \
local -a specs=( local -a specs=(
"$__meson_cd" "$__meson_cd"
'--clean[Clean the build directory]' '--clean[Clean the build directory]'
'(-j --jobs)'{'-j','--jobs'}'=[the number fo work jobs to run (if supported)]:_guard "[0-9]#" "number of jobs"' '(-j --jobs)'{'-j','--jobs'}'=[the number of work jobs to run (if supported)]:_guard "[0-9]#" "number of jobs"'
'(-l --load-average)'{'-l','--load-average'}'=[the system load average to try to maintain (if supported)]:_guard "[0-9]#" "load average"' '(-l --load-average)'{'-l','--load-average'}'=[the system load average to try to maintain (if supported)]:_guard "[0-9]#" "load average"'
'(-v --verbose)'{'-v','--verbose'}'[Show more output]' '(-v --verbose)'{'-v','--verbose'}'[Show more output]'
'--ninja-args=[Arguments to pass to ninja (only when using ninja)]' '--ninja-args=[Arguments to pass to ninja (only when using ninja)]'

Loading…
Cancel
Save