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.
 
 
 
 
 
 

23 lines
610 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. '(-p)-p[specify custom nlay]:path to nlay'
  17. '(-S)-S[start in disk usage analyzer mode]'
  18. '(-v)-v[show program version and exit]'
  19. '*:filename:_files'
  20. )
  21. _arguments -S -s $args