commit 512d217392d19e0cb757ed392700455371b99320
parent f21ec611cd648d7a340a7d02ad442a4fa7ac96c4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Wed, 6 Feb 2019 00:13:04 +0530
Add version sort -n to auto-completion scripts
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/auto-completion/bash/nnn-completion.bash b/scripts/auto-completion/bash/nnn-completion.bash
@@ -17,6 +17,7 @@ _nnn () {
-h
-i
-l
+ -n
-p
-S
-v
diff --git a/scripts/auto-completion/fish/nnn.fish b/scripts/auto-completion/fish/nnn.fish
@@ -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'
diff --git a/scripts/auto-completion/zsh/_nnn b/scripts/auto-completion/zsh/_nnn
@@ -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]'