aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-11 20:24:44 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-11 20:24:44 +0530
commit459b2cceb8a8b9ed36b4395ba5633f5cebda9bc0 (patch)
tree34f43249a27cf23ae38cd0039cff77cf88a1e54b /scripts/auto-completion
parent2e07a20d23170e38f57ad101abe2467534baf914 (diff)
downloadnnn-459b2cceb8a8b9ed36b4395ba5633f5cebda9bc0.tar.gz
Auto-completion for option `-d`
Diffstat (limited to 'scripts/auto-completion')
-rw-r--r--scripts/auto-completion/bash/nnn-completion.bash1
-rw-r--r--scripts/auto-completion/fish/nnn.fish1
-rw-r--r--scripts/auto-completion/zsh/_nnn1
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
index 8364271..25bbed0 100644
--- 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
index cfdf025..59182b5 100644
--- 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
index be2bed6..bda285b 100644
--- 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]'