We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66004dc commit 7541547Copy full SHA for 7541547
scripts/bash-autocomplete/cbmc.sh.template
@@ -54,6 +54,16 @@ _cbmc_autocomplete()
54
fi
55
56
#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) )
+ _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") )
68
}
69
complete -F _cbmc_autocomplete cbmc
0 commit comments