From 512d217392d19e0cb757ed392700455371b99320 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 6 Feb 2019 00:13:04 +0530 Subject: [PATCH] Add version sort -n to auto-completion scripts --- scripts/auto-completion/bash/nnn-completion.bash | 1 + scripts/auto-completion/fish/nnn.fish | 1 + scripts/auto-completion/zsh/_nnn | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/auto-completion/bash/nnn-completion.bash b/scripts/auto-completion/bash/nnn-completion.bash index f85b7fb0..a83e5d07 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 82509569..156e7d4a 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 9516d8de..04670a1e 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]'