From ac815c692a6ff6923f3943345145a82cf1306e4b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 16 Aug 2019 23:40:43 +0530 Subject: Option -o replaces NNN_RESTRICT_NAV_OPEN --- misc/auto-completion/bash/nnn-completion.bash | 1 + misc/auto-completion/fish/nnn.fish | 1 + misc/auto-completion/zsh/_nnn | 1 + 3 files changed, 3 insertions(+) (limited to 'misc/auto-completion') diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index d15ee3b..35448ed 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -17,6 +17,7 @@ _nnn () { -H -i -n + -o -p -s -S diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish index a3d836a..c7a7b8b 100644 --- a/misc/auto-completion/fish/nnn.fish +++ b/misc/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 hidden files' complete -c nnn -s i -d 'start in navigate-as-you-type mode' complete -c nnn -s n -d 'use version compare to sort files' +complete -c nnn -s o -d 'open files only on Enter' complete -c nnn -s p -r -d 'copy selection to file' complete -c nnn -s s -d 'use substring match for filters' complete -c nnn -s S -d 'start in disk usage analyzer mode' diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn index 900b20e..5438b6b 100644 --- a/misc/auto-completion/zsh/_nnn +++ b/misc/auto-completion/zsh/_nnn @@ -15,6 +15,7 @@ args=( '(-H)-H[show hidden files]' '(-i)-i[start in navigate-as-you-type mode]' '(-n)-n[use version compare to sort files]' + '(-o)-o[open files only on Enter]' '(-p)-p[copy selection to file]:file name' '(-s)-s[use substring match for filters]' '(-S)-S[start in disk usage analyzer mode]' -- cgit v1.2.3-70-g09d2