My build of nnn with minor changes
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.1 KiB

  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