My build of nnn with minor changes
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

26 行
726 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. '(-b)-b[bookmark key to open]:key char'
  12. '(-C)-C[disable directory color]'
  13. '(-e)-e[use exiftool instead of mediainfo]'
  14. '(-h)-h[show this help and exit]'
  15. '(-i)-i[start in navigate-as-you-type mode]'
  16. '(-l)-l[start in light mode (fewer details)]'
  17. '(-n)-n[use version compare to sort files]'
  18. '(-p)-p[copy selection to file]:file name'
  19. '(-s)-s[use substring match for filters]'
  20. '(-S)-S[start in disk usage analyzer mode]'
  21. '(-v)-v[show program version and exit]'
  22. '*:filename:_files'
  23. )
  24. _arguments -S -s $args