commit 459b2cceb8a8b9ed36b4395ba5633f5cebda9bc0
parent 2e07a20d23170e38f57ad101abe2467534baf914
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Mon, 11 Mar 2019 20:24:44 +0530
Auto-completion for option `-d`
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/auto-completion/bash/nnn-completion.bash b/scripts/auto-completion/bash/nnn-completion.bash
@@ -12,6 +12,7 @@ _nnn () {
local -a opts opts_with_args
opts=(
-b
+ -d
-e
-h
-i
diff --git a/scripts/auto-completion/fish/nnn.fish b/scripts/auto-completion/fish/nnn.fish
@@ -6,6 +6,7 @@
#
complete -c nnn -s b -r -d 'bookmark key to open'
+complete -c nnn -s d -d 'show hidden files'
complete -c nnn -s e -d 'use exiftool instead of mediainfo'
complete -c nnn -s h -d 'show this help and exit'
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
diff --git a/scripts/auto-completion/zsh/_nnn b/scripts/auto-completion/zsh/_nnn
@@ -10,6 +10,7 @@ setopt localoptions noshwordsplit noksharrays
local -a args
args=(
'(-b)-b[bookmark key to open]:key char'
+ '(-d)-d[show hidden files]'
'(-e)-e[use exiftool instead of mediainfo]'
'(-h)-h[show this help and exit]'
'(-i)-i[start in navigate-as-you-type mode]'