aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-27 21:03:14 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-28 22:36:54 +0530
commit3e053e9412bedb10f2a171ddfbbd72e7432a9bda (patch)
tree21c208395ac71aae75fddefbd28ee97258239ece /scripts/auto-completion
parent26861532a24d32405546d9734936c0f684db9b33 (diff)
downloadnnn-3e053e9412bedb10f2a171ddfbbd72e7432a9bda.tar.gz
Wild mode for nav-as-you-type
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 095adb9..7a265bc 100644
--- a/scripts/auto-completion/bash/nnn-completion.bash
+++ b/scripts/auto-completion/bash/nnn-completion.bash
@@ -22,6 +22,7 @@ _nnn () {
-s
-S
-v
+ -w
)
opts_with_arg=(
-b
diff --git a/scripts/auto-completion/fish/nnn.fish b/scripts/auto-completion/fish/nnn.fish
index 3ec36eb..f6e86a4 100644
--- a/scripts/auto-completion/fish/nnn.fish
+++ b/scripts/auto-completion/fish/nnn.fish
@@ -16,3 +16,4 @@ complete -c nnn -s p -r -d 'copy selection to file'
complete -c nnn -s s -d 'use substring match for filters'
complete -c nnn -s S -d 'start in disk usage analyzer mode'
complete -c nnn -s v -d 'show program version and exit'
+complete -c nnn -s w -d 'wild mode'
diff --git a/scripts/auto-completion/zsh/_nnn b/scripts/auto-completion/zsh/_nnn
index 9171a91..0ec8033 100644
--- a/scripts/auto-completion/zsh/_nnn
+++ b/scripts/auto-completion/zsh/_nnn
@@ -20,6 +20,7 @@ args=(
'(-s)-s[use substring match for filters]'
'(-S)-S[start in disk usage analyzer mode]'
'(-v)-v[show program version and exit]'
+ '(-w)-w[wild mode]'
'*:filename:_files'
)
_arguments -S -s $args