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

22 行
563 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. '(-c)-c[specify dir color, disables if N>7]:color code'
  12. '(-e)-e[use exiftool instead of mediainfo]'
  13. '(-h)-h[show this help and exit]'
  14. '(-i)-i[start in navigate-as-you-type mode]'
  15. '(-l)-l[start in light mode (fewer details)]'
  16. '(-S)-S[start in disk usage analyzer mode]'
  17. '(-v)-v[show program version and exit]'
  18. '*:filename:_files'
  19. )
  20. _arguments -S -s $args