From d13aec1e027ddf2924719ad47363bb7749f499b4 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Tue, 7 Jun 2022 11:36:08 +0100 Subject: move bashcomp --- .bash_completion.d/mupdf.bashcomp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .bash_completion.d/mupdf.bashcomp (limited to '.bash_completion.d/mupdf.bashcomp') diff --git a/.bash_completion.d/mupdf.bashcomp b/.bash_completion.d/mupdf.bashcomp deleted file mode 100644 index dd02b65..0000000 --- a/.bash_completion.d/mupdf.bashcomp +++ /dev/null @@ -1,25 +0,0 @@ -# mupdf(1) completion -*- shell-script -*- - -_mupdf() -{ - local cur prev words cword split - _init_completion -s || return - - case $prev in - --help*|-h|-p|-r|-W|-H|-S|-U|-x) - return - ;; - esac - - $split && return - - if [[ $cur == -* ]]; then - COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' \ - -- "$cur" ) ) - [[ $COMPREPLY == *= ]] && compopt -o nospace - return - fi - - _filedir '@(@(?(e)ps|?(E)PS|[pf]df|[PF]DF|dvi|DVI)?(.gz|.GZ|.bz2|.BZ2|.xz|.XZ)|cb[rz]|djv?(u)|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|epub)' -} && -complete -F _mupdf mupdf -- cgit v1.2.3