My build of nnn with minor changes
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

24 wiersze
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