feh: Update option argument completions.
Some options were dropped in recent feh releases, and a couple of new ones were added.
This commit is contained in:
parent
3d7102b9a5
commit
d2a3db0b7a
@ -10,10 +10,6 @@ _feh()
|
||||
COMPREPLY=( $( compgen -W 'default white black' -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
--index-dim|--index-name|--index-size)
|
||||
COMPREPLY=( $( compgen -W '0 1' -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
-f|--filelist|-o|--output|-O|--output-only|-\||--start-at)
|
||||
_filedir
|
||||
return
|
||||
@ -61,7 +57,7 @@ _feh()
|
||||
return
|
||||
;;
|
||||
-R|--reload|-H|--limit-height|-W|--limit-width|-E|--thumb-height|\
|
||||
-y|--thumb-width|-J|--thumb-redraw)
|
||||
-y|--thumb-width|-J|--thumb-redraw|--magick-timeout)
|
||||
# expect integer value
|
||||
COMPREPLY+=( $( compgen -W '{0..9}' ) )
|
||||
compopt -o nospace
|
||||
@ -76,11 +72,6 @@ _feh()
|
||||
fi
|
||||
return
|
||||
;;
|
||||
-0|--reload-button|-1|--pan-button|-2|--zoom-button|-3|--menu-button|\
|
||||
-4|--prev-button|-5|--next-button|-8|--rotate-button|-9|--blur-button)
|
||||
COMPREPLY=( $( compgen -W '{0..9}' -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
-a|--alpha)
|
||||
COMPREPLY=( $( compgen -W '{0..255}' -- "$cur" ) )
|
||||
return
|
||||
@ -99,7 +90,8 @@ _feh()
|
||||
compopt -o nospace
|
||||
return
|
||||
;;
|
||||
-L|--customlist|--info|-D|--slideshow-delay|-~|--thumb-title|-^|--title)
|
||||
-L|--customlist|--index-info|--info|-D|--slideshow-delay|-~|\
|
||||
--thumb-title|-^|--title)
|
||||
# argument required but no completions available
|
||||
return
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user