# Arun Prakash Jana <engineerarun@gmail.com>
#
+complete -c nnn -s b -r -d 'bookmark key to open'
complete -c nnn -s C -d 'disable directory color'
complete -c nnn -s e -d 'use exiftool instead of mediainfo'
complete -c nnn -s h -d 'show this help and exit'
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
complete -c nnn -s l -d 'start in light mode (fewer details)'
+complete -c nnn -s p -r -d 'copy selection to file'
complete -c nnn -s S -d 'start in disk usage analyzer mode'
complete -c nnn -s v -d 'show program version and exit'
setopt localoptions noshwordsplit noksharrays
local -a args
args=(
+ '(-b)-b[bookmark key to open]:key char'
'(-C)-C[disable directory color]'
'(-e)-e[use exiftool instead of mediainfo]'
'(-h)-h[show this help and exit]'
'(-i)-i[start in navigate-as-you-type mode]'
'(-l)-l[start in light mode (fewer details)]'
+ '(-p)-p[copy selection to file]:file name'
'(-S)-S[start in disk usage analyzer mode]'
'(-v)-v[show program version and exit]'
'*:filename:_files'