aboutsummaryrefslogtreecommitdiffstats
path: root/misc/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-16 23:40:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-16 23:40:43 +0530
commitac815c692a6ff6923f3943345145a82cf1306e4b (patch)
treedf438c7c00ae3be2c2e50eef070c514afd9ea8ad /misc/auto-completion
parente13481c5b0336ad62d9c72f06467b82673ac522c (diff)
downloadnnn-ac815c692a6ff6923f3943345145a82cf1306e4b.tar.gz
Option -o replaces NNN_RESTRICT_NAV_OPEN
Diffstat (limited to 'misc/auto-completion')
-rw-r--r--misc/auto-completion/bash/nnn-completion.bash1
-rw-r--r--misc/auto-completion/fish/nnn.fish1
-rw-r--r--misc/auto-completion/zsh/_nnn1
3 files changed, 3 insertions, 0 deletions
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]'