From 459b2cceb8a8b9ed36b4395ba5633f5cebda9bc0 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 11 Mar 2019 20:24:44 +0530 Subject: [PATCH] Auto-completion for option `-d` --- scripts/auto-completion/bash/nnn-completion.bash | 1 + scripts/auto-completion/fish/nnn.fish | 1 + scripts/auto-completion/zsh/_nnn | 1 + 3 files changed, 3 insertions(+) diff --git a/scripts/auto-completion/bash/nnn-completion.bash b/scripts/auto-completion/bash/nnn-completion.bash index 8364271a..25bbed08 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 cfdf0252..59182b56 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 be2bed61..bda285be 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]'