My build of nnn with minor changes
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- #compdef nnn
- #
- # Completion definition for nnn.
- #
- # Author:
- # Arun Prakash Jana <engineerarun@gmail.com>
- #
-
- setopt localoptions noshwordsplit noksharrays
- local -a args
- args=(
- '(-a)-a[use access time]'
- '(-b)-b[bookmark key to open]:key char'
- '(-c)-d[cli-only opener]'
- '(-d)-d[start in detail mode]'
- '(-f)-d[run filter as cmd on prompt key]'
- '(-H)-H[show hidden files]'
- '(-i)-i[start in navigate-as-you-type mode]'
- '(-K)-K[detect key collision]'
- '(-n)-n[use version compare to sort files]'
- '(-o)-o[open files only on Enter]'
- '(-p)-p[copy selection to file]:file name'
- '(-r)-r[show cp, mv progress (Linux-only)]'
- '(-s)-s[use substring match for filters]'
- '(-S)-S[start in disk usage analyzer mode]'
- '(-t)-t[disable dir auto-select]'
- '(-v)-v[show program version and exit]'
- '(-h)-h[show program help]'
- '*:filename:_files'
- )
- _arguments -S -s $args
|