aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-06 00:13:04 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-06 00:13:04 +0530
commit512d217392d19e0cb757ed392700455371b99320 (patch)
treefc235836bde1612733dc93a027f919e43d227621 /scripts
parentf21ec611cd648d7a340a7d02ad442a4fa7ac96c4 (diff)
downloadnnn-512d217392d19e0cb757ed392700455371b99320.tar.gz
Add version sort -n to auto-completion scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/auto-completion/bash/nnn-completion.bash1
-rw-r--r--scripts/auto-completion/fish/nnn.fish1
-rw-r--r--scripts/auto-completion/zsh/_nnn1
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
index f85b7fb..a83e5d0 100644
--- 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
index 8250956..156e7d4 100644
--- 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
index 9516d8d..04670a1 100644
--- 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]'