mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 10:56:41 +00:00
26 lines
696 B
Plaintext
26 lines
696 B
Plaintext
#compdef nnn
|
|
#
|
|
# Completion definition for nnn.
|
|
#
|
|
# Author:
|
|
# Arun Prakash Jana <engineerarun@gmail.com>
|
|
#
|
|
|
|
setopt localoptions noshwordsplit noksharrays
|
|
local -a args
|
|
args=(
|
|
'(-b)-b[bookmark key to open]:key char'
|
|
'(-d)-d[show hidden files]'
|
|
'(-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[use substring match for filters]'
|
|
'(-S)-S[start in disk usage analyzer mode]'
|
|
'(-v)-v[show program version and exit]'
|
|
'(-w)-w[wild load]'
|
|
'*:filename:_files'
|
|
)
|
|
_arguments -S -s $args
|