nnn/misc/auto-completion/zsh/_nnn

26 lines
696 B
Text
Raw Normal View History

2017-09-02 12:23:19 +05:30
#compdef nnn
#
# Completion definition for nnn.
#
# Author:
# Arun Prakash Jana <engineerarun@gmail.com>
#
setopt localoptions noshwordsplit noksharrays
local -a args
args=(
2018-12-09 08:36:00 +05:30
'(-b)-b[bookmark key to open]:key char'
2019-03-11 20:24:44 +05:30
'(-d)-d[show hidden files]'
2017-09-02 12:23:19 +05:30
'(-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)]'
2018-12-09 08:36:00 +05:30
'(-p)-p[copy selection to file]:file name'
2019-02-06 00:38:55 +05:30
'(-s)-s[use substring match for filters]'
2017-09-02 12:23:19 +05:30
'(-S)-S[start in disk usage analyzer mode]'
'(-v)-v[show program version and exit]'
2019-03-20 09:14:39 +05:30
'(-w)-w[wild load]'
2018-03-02 15:01:11 +03:00
'*:filename:_files'
2017-09-02 12:23:19 +05:30
)
_arguments -S -s $args