"Fossies" - the Fresh Open Source Software Archive

Member "nnn-4.2/misc/auto-completion/zsh/_nnn" (21 Jul 2021, 1473 Bytes) of package /linux/misc/nnn-v4.2.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.1.1_vs_v4.2.

    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     '(-J)-J[no auto-proceed on select]'
   25     '(-K)-K[detect key collision]'
   26     '(-l)-l[lines to move per scroll]:val'
   27     '(-n)-n[start in type-to-nav mode]'
   28     '(-o)-o[open files only on Enter]'
   29     '(-p)-p[copy selection to file]:file name'
   30     '(-P)-P[plugin key to runn]:key char'
   31     '(-Q)-Q[disable quit confirmation]'
   32     '(-r)-r[show cp, mv progress (Linux-only)]'
   33     '(-R)-R[disable rollover at edges]'
   34     '(-s)-s[load session]:session name'
   35     '(-S)-S[persistent session]'
   36     '(-t)-t[timeout to lock]:seconds'
   37     '(-T)-T[a d e r s t v]:key'
   38     '(-u)-u[use selection (no prompt)]'
   39     '(-U)-U[show user and group]'
   40     '(-V)-V[show program version and exit]'
   41     '(-w)-C[hardware cursor mode]'
   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