From 0b0605813d13e98ad328039292d5b97fc5c000f6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 1 Sep 2020 23:06:26 +0530 Subject: [PATCH] Update auto-completion scripts --- misc/auto-completion/bash/nnn-completion.bash | 2 ++ misc/auto-completion/fish/nnn.fish | 2 ++ misc/auto-completion/zsh/_nnn | 2 ++ 3 files changed, 6 insertions(+) diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index dfadb53c..d0c80e53 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 77e6bade..d47c72e2 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 2d973a16..0de2bda9 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]'