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

32 рядки
917 B

  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. '(-b)-b[bookmark key to open]:key char'
  13. '(-c)-d[cli-only opener]'
  14. '(-d)-d[start in detail mode]'
  15. '(-f)-d[run filter as cmd on prompt key]'
  16. '(-H)-H[show hidden files]'
  17. '(-i)-i[start in navigate-as-you-type mode]'
  18. '(-K)-K[detect key collision]'
  19. '(-n)-n[use version compare to sort files]'
  20. '(-o)-o[open files only on Enter]'
  21. '(-p)-p[copy selection to file]:file name'
  22. '(-r)-r[show cp, mv progress (Linux-only)]'
  23. '(-s)-s[use substring match for filters]'
  24. '(-S)-S[start in disk usage analyzer mode]'
  25. '(-t)-t[disable dir auto-select]'
  26. '(-v)-v[show program version and exit]'
  27. '(-h)-h[show program help]'
  28. '*:filename:_files'
  29. )
  30. _arguments -S -s $args