Add version sort -n to auto-completion scripts

This commit is contained in:
Arun Prakash Jana 2019-02-06 00:13:04 +05:30
parent f21ec611cd
commit 512d217392
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ _nnn () {
-h
-i
-l
-n
-p
-S
-v

View file

@ -11,6 +11,7 @@ complete -c nnn -s e -d 'use exiftool instead of mediainfo'
complete -c nnn -s h -d 'show this help and exit'
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
complete -c nnn -s l -d 'start in light mode (fewer details)'
complete -c nnn -s n -d 'use version compare to sort files'
complete -c nnn -s p -r -d 'copy selection to file'
complete -c nnn -s S -d 'start in disk usage analyzer mode'
complete -c nnn -s v -d 'show program version and exit'

View file

@ -15,6 +15,7 @@ args=(
'(-h)-h[show this help and exit]'
'(-i)-i[start in navigate-as-you-type mode]'
'(-l)-l[start in light mode (fewer details)]'
'(-n)-n[use version compare to sort files]'
'(-p)-p[copy selection to file]:file name'
'(-S)-S[start in disk usage analyzer mode]'
'(-v)-v[show program version and exit]'