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]'
|
2020-01-09 03:34:10 +05:30
|
|
|
'(-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]'
|
2020-01-17 19:06:42 +05:30
|
|
|
'(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
|
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]'
|
2019-12-25 22:33:38 +05:30
|
|
|
'(-n)-n[start in navigate-as-you-type mode]'
|
2019-08-16 23:40:43 +05:30
|
|
|
'(-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]'
|
2019-08-23 20:18:17 +05:30
|
|
|
'(-r)-r[show cp, mv progress (Linux-only)]'
|
2019-12-01 23:00:06 +05:30
|
|
|
'(-R)-R[disable rollover at edges]'
|
2019-12-20 15:49:13 +05:30
|
|
|
'(-s)-s[load session]:session name'
|
2017-09-02 12:23:19 +05:30
|
|
|
'(-S)-S[start in disk usage analyzer mode]'
|
2020-01-17 19:06:42 +05:30
|
|
|
'(-t)-t[timeout to lock]:seconds'
|
2019-12-28 11:15:38 +05:30
|
|
|
'(-v)-v[use version compare to sort files]'
|
|
|
|
'(-V)-V[show program version and exit]'
|
2019-12-12 19:51:08 +05:30
|
|
|
'(-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
|