ref: ea37ca0e06d34968964e02144534a63bab72e52e
dir: /man/bash-completion/heretic.template/
# bash completion for Chocolate Heretic -*- shell-script -*- _chocolate_heretic() { local cur prev words cword _init_completion || return case $prev in -config|-extraconfig) _filedir cfg ;; -file|-iwad|-aa|-af|-as|-merge|-nwtmerge) _filedir wad ;; -hhever) COMPREPLY=(1.0 1.2 1.3) ;; -setmen) COMPREPLY=(dos622 dos71 dosbox) ;; -playdemo|-timedemo) _filedir lmp ;; -deh) _filedir hhe ;; esac if [[ $cur == -* ]]; then COMPREPLY=( $( compgen -W '@content' -- "$cur" ) ) fi } && complete -F _chocolate_heretic chocolate-heretic # ex: ts=4 sw=4 et filetype=sh