mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
CMake: fix option completion after first argument
for some reason this just ended after the first option.
This commit is contained in:
+4
-3
@@ -565,11 +565,12 @@ elif [ $CURRENT -eq 2 ] ; then
|
||||
"$cmake_suggest_install[@]" && return 0
|
||||
elif [[ $words[2] = --help* ]] ; then
|
||||
_cmake_help
|
||||
#elif [[ $words[2] != -E ]] ; then
|
||||
elif [[ $words[2] == --build ]] ; then
|
||||
_cmake_on_build
|
||||
elif [[ $words[2] == --install ]] ; then
|
||||
_cmake_on_install
|
||||
else
|
||||
elif [[ $words[2] == -E ]]; then
|
||||
_cmake_command
|
||||
fi
|
||||
else
|
||||
_arguments "$cmake_build_options[@]"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user