My build of nnn with minor changes
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

7 роки тому
5 роки тому
4 роки тому
5 роки тому
4 роки тому
7 роки тому
4 роки тому
7 роки тому
12345678910111213141516171819202122232425262728293031323334353637
  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[use access time]'
  12. '(-A)-A[disable dir auto-select]'
  13. '(-b)-b[bookmark key to open]:key char'
  14. '(-c)-c[cli-only opener]'
  15. '(-d)-d[start in detail mode]'
  16. '(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
  17. '(-E)-E[use EDITOR for undetached edits]'
  18. '(-g)-g[regex filters]'
  19. '(-H)-H[show hidden files]'
  20. '(-K)-K[detect key collision]'
  21. '(-n)-n[start in navigate-as-you-type mode]'
  22. '(-o)-o[open files only on Enter]'
  23. '(-p)-p[copy selection to file]:file name'
  24. '(-Q)-Q[disable quit confirmation]'
  25. '(-r)-r[show cp, mv progress (Linux-only)]'
  26. '(-R)-R[disable rollover at edges]'
  27. '(-s)-s[load session]:session name'
  28. '(-S)-S[start in disk usage analyzer mode]'
  29. '(-t)-t[timeout to lock]:seconds'
  30. '(-v)-v[use version compare to sort files]'
  31. '(-V)-V[show program version and exit]'
  32. '(-x)-x[notis, sel to system clipboard]'
  33. '(-h)-h[show program help]'
  34. '*:filename:_files'
  35. )
  36. _arguments -S -s $args