aboutsummaryrefslogtreecommitdiffstats
path: root/misc/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-11 20:59:22 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-10-11 20:59:22 +0530
commitfe80d5aa9da07db081fd15574e0002e7134ad403 (patch)
treec2f4bed5e0b288a4800334d9203a33c39bb87b98 /misc/auto-completion
parentab8e3e445e054a0e28aca52e0eb5a5469650a1bc (diff)
downloadnnn-fe80d5aa9da07db081fd15574e0002e7134ad403.tar.gz
Update key collision detection
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 e8bdbd0..d97b144 100644
--- a/misc/auto-completion/bash/nnn-completion.bash
+++ b/misc/auto-completion/bash/nnn-completion.bash
@@ -18,6 +18,7 @@ _nnn () {
-f
-H
-i
+ -K
-n
-o
-p
diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish
index 336b7b7..ee3768a 100644
--- a/misc/auto-completion/fish/nnn.fish
+++ b/misc/auto-completion/fish/nnn.fish
@@ -12,6 +12,7 @@ complete -c nnn -s d -d 'start in detail mode'
complete -c nnn -s f -d 'run filter as cmd on prompt key'
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 K -d 'detect key collision'
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'
diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn
index 4e180c3..b5ec1d1 100644
--- a/misc/auto-completion/zsh/_nnn
+++ b/misc/auto-completion/zsh/_nnn
@@ -16,6 +16,7 @@ args=(
'(-f)-d[run filter as cmd on prompt key]'
'(-H)-H[show hidden files]'
'(-i)-i[start in navigate-as-you-type mode]'
+ '(-K)-K[detect key collision]'
'(-n)-n[use version compare to sort files]'
'(-o)-o[open files only on Enter]'
'(-p)-p[copy selection to file]:file name'