aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-09-01 23:06:26 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-09-01 23:06:26 +0530
commit0b0605813d13e98ad328039292d5b97fc5c000f6 (patch)
tree37cc885000dcfc01d400ad0df72a05ff65f793ff /misc
parent02bb39855008253cdb64b0d8c3b866f952de8f34 (diff)
downloadnnn-0b0605813d13e98ad328039292d5b97fc5c000f6.tar.gz
Update auto-completion scripts
Diffstat (limited to 'misc')
-rw-r--r--misc/auto-completion/bash/nnn-completion.bash2
-rw-r--r--misc/auto-completion/fish/nnn.fish2
-rw-r--r--misc/auto-completion/zsh/_nnn2
3 files changed, 6 insertions, 0 deletions
diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash
index dfadb53..d0c80e5 100644
--- a/misc/auto-completion/bash/nnn-completion.bash
+++ b/misc/auto-completion/bash/nnn-completion.bash
@@ -18,12 +18,14 @@ _nnn ()
-c
-C
-d
+ -D
-e
-E
-f
-F
-g
-H
+ -J
-K
-l
-n
diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish
index 77e6bad..d47c72e 100644
--- a/misc/auto-completion/fish/nnn.fish
+++ b/misc/auto-completion/fish/nnn.fish
@@ -17,12 +17,14 @@ complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F
complete -c nnn -s c -d 'cli-only opener'
complete -c nnn -s C -d 'color by context'
complete -c nnn -s d -d 'start in detail mode'
+complete -c nnn -s D -d 'dirs in context color'
complete -c nnn -s e -d 'open text files in $VISUAL/$EDITOR/vi'
complete -c nnn -s E -d 'use EDITOR for undetached edits'
complete -c nnn -s f -d 'use readline history file'
complete -c nnn -s F -d 'show fortune'
complete -c nnn -s g -d 'regex filters'
complete -c nnn -s H -d 'show hidden files'
+complete -c nnn -s J -d 'no auto-proceed on select'
complete -c nnn -s K -d 'detect key collision'
complete -c nnn -s l -r -d 'lines to move per scroll'
complete -c nnn -s n -d 'start in type-to-nav mode'
diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn
index 2d973a1..0de2bda 100644
--- a/misc/auto-completion/zsh/_nnn
+++ b/misc/auto-completion/zsh/_nnn
@@ -15,12 +15,14 @@ args=(
'(-c)-c[cli-only opener]'
'(-C)-C[color by context]'
'(-d)-d[start in detail mode]'
+ '(-D)-D[dirs in context color]'
'(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
'(-E)-E[use EDITOR for undetached edits]'
'(-f)-f[use readline history file]'
'(-F)-F[show fortune]'
'(-g)-g[regex filters]'
'(-H)-H[show hidden files]'
+ '(-J)-J[no auto-proceed on select]'
'(-K)-K[detect key collision]'
'(-l)-l[lines to move per scroll]:val'
'(-n)-n[start in type-to-nav mode]'