Since it was annoying me, I have made bash tab completion file for djview. Not sure if this could be added to official packages.
To use it, simply copy it to /usr/share/bash-completion/completions/djview4 . You should also symlink djview to djview4 in that directory.
The file as follows:
# djview4(1) completion -*- shell-script -*- _djview4() { local cur prev words cword split _init_completion -s || return case $prev in -'?'|-help|--help) return ;; esac $split && return if [[ $cur == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' \ -- "$cur" ) ) [[ $COMPREPLY == *= ]] && compopt -o nospace return fi _filedir '@(djv|djvu)' } && complete -F _djview4 djview4 djview # ex: filetype=sh
Log in to post a comment.
Since it was annoying me, I have made bash tab completion file for djview. Not sure if this could be added to official packages.
To use it, simply copy it to /usr/share/bash-completion/completions/djview4 . You should also symlink djview to djview4 in that directory.
The file as follows:
Last edit: Nikola Smolenski 2024-02-27