Command line auto-completion - AppImages
[geeqie.git] / auto-complete / geeqie
1 # bash completion for geeqie                              -*- shell-script -*-
2
3 _geeqie()
4 {
5     local cur
6     _init_completion -s || return
7
8     if [[ $cur == -* ]]
9     then
10         COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
11         [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
12         return
13     fi
14
15 } &&
16     complete -F _geeqie geeqie
17
18 # ex: filetype=sh