nnn/misc/auto-completion/zsh/_nnn

36 lines
1 KiB
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=(
2019-08-30 20:55:23 +05:30
'(-a)-a[use access time]'
'(-A)-A[disable dir auto-select]'
2018-12-09 08:36:00 +05:30
'(-b)-b[bookmark key to open]:key char'
2019-11-30 18:14:39 +05:30
'(-c)-c[cli-only opener]'
2019-08-16 23:15:29 +05:30
'(-d)-d[start in detail mode]'
2019-11-30 18:14:39 +05:30
'(-E)-E[use EDITOR for undetached edits]'
2019-12-14 19:00:09 +05:30
'(-g)-g[regex filters]'
2019-08-16 23:15:29 +05:30
'(-H)-H[show hidden files]'
2019-10-11 20:59:22 +05:30
'(-K)-K[detect key collision]'
'(-n)-n[start in navigate-as-you-type mode]'
'(-o)-o[open files only on Enter]'
2018-12-09 08:36:00 +05:30
'(-p)-p[copy selection to file]:file name'
2019-12-14 23:28:13 +05:30
'(-Q)-Q[disable quit confirmation]'
'(-r)-r[show cp, mv progress (Linux-only)]'
2019-12-01 23:00:06 +05:30
'(-R)-R[disable rollover at edges]'
'(-s)-s[load session]:session name'
2017-09-02 12:23:19 +05:30
'(-S)-S[start in disk usage analyzer mode]'
2019-12-28 11:15:38 +05:30
'(-v)-v[use version compare to sort files]'
'(-V)-V[show program version and exit]'
'(-x)-x[notis, sel to system clipboard]'
2019-08-16 23:15:29 +05:30
'(-h)-h[show program help]'
2018-03-02 15:01:11 +03:00
'*:filename:_files'
2017-09-02 12:23:19 +05:30
)
_arguments -S -s $args