Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion scripts/bash-autocomplete/cbmc.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ _cbmc_autocomplete()
fi

#if none of the above applies, offer directories and files that we can analyze
COMPREPLY=( $(compgen -G '*.class|*.jar|*.cpp|*.cc|*.c\+\+|*.ii|*.cxx|*.c|*.i|*.gb' -- $cur) )
_filedir -d
COMPREPLY+=( $(compgen -G "$cur*.c") )
COMPREPLY+=( $(compgen -G "$cur*.c\+\+") )
COMPREPLY+=( $(compgen -G "$cur*.cc") )
COMPREPLY+=( $(compgen -G "$cur*.class") )
COMPREPLY+=( $(compgen -G "$cur*.cpp") )
COMPREPLY+=( $(compgen -G "$cur*.cxx") )
COMPREPLY+=( $(compgen -G "$cur*.gb") )
COMPREPLY+=( $(compgen -G "$cur*.i") )
COMPREPLY+=( $(compgen -G "$cur*.ii") )
COMPREPLY+=( $(compgen -G "$cur*.jar") )
}
complete -F _cbmc_autocomplete cbmc
Loading