"Fossies" - the Fresh Open Source Software Archive

Member "nnn-4.4/misc/auto-completion/zsh/_nnn" (23 Nov 2021, 1475 Bytes) of package /linux/misc/nnn-v4.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "_nnn": v4.3_vs_v4.4.

    1 #compdef nnn
    2 #
    3 # Completion definition for nnn.
    4 #
    5 # Author:
    6 #   Arun Prakash Jana <engineerarun@gmail.com>
    7 #
    8 
    9 setopt localoptions noshwordsplit noksharrays
   10 local -a args
   11 args=(
   12     '(-a)-a[auto-create NNN_FIFO]'
   13     '(-A)-A[disable dir auto-select]'
   14     '(-b)-b[bookmark key to open]:key char'
   15     '(-c)-c[cli-only opener]'
   16     '(-C)-C[color by context]'
   17     '(-d)-d[start in detail mode]'
   18     '(-D)-D[dirs in context color]'
   19     '(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
   20     '(-E)-E[use EDITOR for undetached edits]'
   21     '(-f)-f[use readline history file]'
   22     '(-g)-g[regex filters]'
   23     '(-H)-H[show hidden files]'
   24     '(-i)-i[show current file info]'
   25     '(-J)-J[no auto-proceed on select]'
   26     '(-K)-K[detect key collision]'
   27     '(-l)-l[lines to move per scroll]:val'
   28     '(-n)-n[start in type-to-nav mode]'
   29     '(-o)-o[open files only on Enter]'
   30     '(-p)-p[copy selection to file]:file name'
   31     '(-P)-P[plugin key to runn]:key char'
   32     '(-Q)-Q[disable quit confirmation]'
   33     '(-r)-r[show cp, mv progress (Linux-only)]'
   34     '(-R)-R[disable rollover at edges]'
   35     '(-s)-s[load session]:session name'
   36     '(-S)-S[persistent session]'
   37     '(-t)-t[timeout to lock]:seconds'
   38     '(-T)-T[a d e r s t v]:key'
   39     '(-u)-u[use selection (no prompt)]'
   40     '(-U)-U[show user and group]'
   41     '(-V)-V[show program version and exit]'
   42     '(-x)-x[notis, sel to system clipboard, xterm title]'
   43     '(-h)-h[show program help]'
   44     '*:filename:_files'
   45 )
   46 _arguments -S -s $args