File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
scripts/bash-autocomplete Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,16 @@ _cbmc_autocomplete()
5454 fi
5555
5656 # if none of the above applies, offer directories and files that we can analyze
57- COMPREPLY=( $( compgen -G ' *.class|*.jar|*.cpp|*.cc|*.c\+\+|*.ii|*.cxx|*.c|*.i|*.gb' -- $cur ) )
57+ _filedir -d
58+ COMPREPLY+=( $( compgen -G " $cur *.c" ) )
59+ COMPREPLY+=( $( compgen -G " $cur *.c\+\+" ) )
60+ COMPREPLY+=( $( compgen -G " $cur *.cc" ) )
61+ COMPREPLY+=( $( compgen -G " $cur *.class" ) )
62+ COMPREPLY+=( $( compgen -G " $cur *.cpp" ) )
63+ COMPREPLY+=( $( compgen -G " $cur *.cxx" ) )
64+ COMPREPLY+=( $( compgen -G " $cur *.gb" ) )
65+ COMPREPLY+=( $( compgen -G " $cur *.i" ) )
66+ COMPREPLY+=( $( compgen -G " $cur *.ii" ) )
67+ COMPREPLY+=( $( compgen -G " $cur *.jar" ) )
5868}
5969complete -F _cbmc_autocomplete cbmc
You can’t perform that action at this time.
0 commit comments