mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-05 23:48:48 +08:00
CMake: fix option completion after first argument
for some reason this just ended after the first option.
This commit is contained in:
1 parent
2e009c7ab8
commit
63b470243b
1 file changed
+4
-3
+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