mirror of
https://github.com/jarun/nnn.git
synced 2024-11-16 16:13:16 +00:00
22 lines
541 B
Plaintext
22 lines
541 B
Plaintext
#compdef nnn
|
|
#
|
|
# Completion definition for nnn.
|
|
#
|
|
# Author:
|
|
# Arun Prakash Jana <engineerarun@gmail.com>
|
|
#
|
|
|
|
setopt localoptions noshwordsplit noksharrays
|
|
local -a args
|
|
args=(
|
|
'(-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)]'
|
|
'(-S)-S[start in disk usage analyzer mode]'
|
|
'(-v)-v[show program version and exit]'
|
|
'*:filename:_files'
|
|
)
|
|
_arguments -S -s $args
|