diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2022-06-07 11:36:08 +0100 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2022-06-07 11:36:08 +0100 |
commit | d556a11fd3ba342726a4fd340b360231ea3f801c (patch) | |
tree | d170443ad51440154a5821095702a304cab70037 /.bash_completion.d/mupdf.bashcomp | |
parent | ibus! (diff) | |
download | dotfiles-d556a11fd3ba342726a4fd340b360231ea3f801c.tar.gz dotfiles-d556a11fd3ba342726a4fd340b360231ea3f801c.tar.bz2 dotfiles-d556a11fd3ba342726a4fd340b360231ea3f801c.zip |
move bashcomp
Diffstat (limited to '.bash_completion.d/mupdf.bashcomp')
-rw-r--r-- | .bash_completion.d/mupdf.bashcomp | 25 |
1 files changed, 0 insertions, 25 deletions
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 |