Skip to content

Commit

Permalink
feh: Update option argument completions.
Browse files Browse the repository at this point in the history
Some options were dropped in recent feh releases, and a couple of new
ones were added.
  • Loading branch information
GArik committed Apr 8, 2012
1 parent 3d7102b commit d2a3db0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions completions/feh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
;;
Expand Down

0 comments on commit d2a3db0

Please sign in to comment.