Skip to content
Snippets Groups Projects
Commit 77cec487 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[autocomplete] better regexp for identifying provers

parent abea8d06
No related branches found
No related tags found
No related merge requests found
......@@ -93,8 +93,8 @@ _frama-c ()
elif [[ "${COMP_WORDS[COMP_CWORD -1]}" == "-wp-prover" ]]
then
local prefix=; [[ $cur == *,* ]] && prefix="${cur%,*},"
advance_options="$(frama-c -wp-detect | grep -E -o " \[.*" | grep -E -o "[^\[-\|]*")"
advance_options+="none script tip native:alt-ergo native:coq native:coqide"
advance_options="$(frama-c -wp-detect | grep -E -o " \[.*" | grep -E -o "[^]\[-\|]*")"
advance_options+=" none script tip native:alt-ergo native:coq native:coqide"
local ambigous="$(bind -v | grep show-all-if-ambiguous)"
ambigous="${ambigous##* }"
if [[ "$ambigous" == "on" ]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment