We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f1f8e18 + df36bf8 commit c6e026fCopy full SHA for c6e026f
1 file changed
docs/dnmtools_bash_completion
@@ -0,0 +1,17 @@
1
+_dnmtools()
2
+{
3
+ local cur prev opts
4
+ COMPREPLY=()
5
+ cur="${COMP_WORDS[COMP_CWORD]}"
6
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
7
+
8
+ opts=`dnmtools | grep "^ " | awk '{print $1}' | tr -d ':'`
9
10
+ case $prev in
11
+ dnmtools)
12
+ COMPREPLY=( $(compgen -f -W "${opts}" -- "$cur") )
13
+ ;;
14
+ esac
15
+ return 0
16
+}
17
+complete -F _dnmtools -o default dnmtools
0 commit comments