My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_nnn 1.1 KiB

il y a 5 ans
il y a 5 ans
1234567891011121314151617181920212223242526272829303132333435363738
  1. #compdef nnn
  2. #
  3. # Completion definition for nnn.
  4. #
  5. # Author:
  6. # Arun Prakash Jana <engineerarun@gmail.com>
  7. #
  8. setopt localoptions noshwordsplit noksharrays
  9. local -a args
  10. args=(
  11. '(-A)-A[disable dir auto-select]'
  12. '(-b)-b[bookmark key to open]:key char'
  13. '(-c)-c[cli-only opener]'
  14. '(-d)-d[start in detail mode]'
  15. '(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
  16. '(-E)-E[use EDITOR for undetached edits]'
  17. '(-f)-f[use readline history file]'
  18. '(-F)-F[show fortune]'
  19. '(-g)-g[regex filters]'
  20. '(-H)-H[show hidden files]'
  21. '(-K)-K[detect key collision]'
  22. '(-n)-n[start in type-to-nav mode]'
  23. '(-o)-o[open files only on Enter]'
  24. '(-p)-p[copy selection to file]:file name'
  25. '(-Q)-Q[disable quit confirmation]'
  26. '(-r)-r[show cp, mv progress (Linux-only)]'
  27. '(-R)-R[disable rollover at edges]'
  28. '(-s)-s[load session]:session name'
  29. '(-S)-S[start in disk usage analyzer mode]'
  30. '(-t)-t[timeout to lock]:seconds'
  31. '(-T)-T[a d e r s t v]:key'
  32. '(-V)-V[show program version and exit]'
  33. '(-x)-x[notis, sel to system clipboard]'
  34. '(-h)-h[show program help]'
  35. '*:filename:_files'
  36. )
  37. _arguments -S -s $args