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.
 
 
 
 
 
 

23 wiersze
617 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. '*: :_guard "^-*" keyword'
  20. )
  21. _arguments -S -s $args