aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/auto-completion/zsh/_nnn
blob: 746dc415b62b75b364e37d52b3233b594a96d708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#compdef nnn
#
# Completion definition for nnn.
#
# Author:
#   Arun Prakash Jana <engineerarun@gmail.com>
#

setopt localoptions noshwordsplit noksharrays
local -a args
args=(
    '(-c)-c[specify dir color, disables if N>7]:color code'
    '(-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)]'
    '(-S)-S[start in disk usage analyzer mode]'
    '(-v)-v[show program version and exit]'
    '*:filename:_files'
)
_arguments -S -s $args