mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Add version sort -n to auto-completion scripts
This commit is contained in:
parent
f21ec611cd
commit
512d217392
|
@ -17,6 +17,7 @@ _nnn () {
|
||||||
-h
|
-h
|
||||||
-i
|
-i
|
||||||
-l
|
-l
|
||||||
|
-n
|
||||||
-p
|
-p
|
||||||
-S
|
-S
|
||||||
-v
|
-v
|
||||||
|
|
|
@ -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 h -d 'show this help and exit'
|
||||||
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
|
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 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 p -r -d 'copy selection to file'
|
||||||
complete -c nnn -s S -d 'start in disk usage analyzer mode'
|
complete -c nnn -s S -d 'start in disk usage analyzer mode'
|
||||||
complete -c nnn -s v -d 'show program version and exit'
|
complete -c nnn -s v -d 'show program version and exit'
|
||||||
|
|
|
@ -15,6 +15,7 @@ args=(
|
||||||
'(-h)-h[show this help and exit]'
|
'(-h)-h[show this help and exit]'
|
||||||
'(-i)-i[start in navigate-as-you-type mode]'
|
'(-i)-i[start in navigate-as-you-type mode]'
|
||||||
'(-l)-l[start in light mode (fewer details)]'
|
'(-l)-l[start in light mode (fewer details)]'
|
||||||
|
'(-n)-n[use version compare to sort files]'
|
||||||
'(-p)-p[copy selection to file]:file name'
|
'(-p)-p[copy selection to file]:file name'
|
||||||
'(-S)-S[start in disk usage analyzer mode]'
|
'(-S)-S[start in disk usage analyzer mode]'
|
||||||
'(-v)-v[show program version and exit]'
|
'(-v)-v[show program version and exit]'
|
||||||
|
|
Loading…
Reference in a new issue