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.
 
 
 
 
 
 

24 lines
632 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. '(-p)-p[copy selection to file]:file name'
  18. '(-S)-S[start in disk usage analyzer mode]'
  19. '(-v)-v[show program version and exit]'
  20. '*:filename:_files'
  21. )
  22. _arguments -S -s $args