aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-06 00:38:55 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-06 00:38:55 +0530
commitcebb2469d34a3e1d80b071af91f0e39e5c678e84 (patch)
tree7f0fbba42a8fc255150bb5c837acfa42292b3558 /scripts/auto-completion
parent512d217392d19e0cb757ed392700455371b99320 (diff)
downloadnnn-cebb2469d34a3e1d80b071af91f0e39e5c678e84.tar.gz
Add option -s to use string filters
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 a83e5d0..095adb9 100644
--- a/scripts/auto-completion/bash/nnn-completion.bash
+++ b/scripts/auto-completion/bash/nnn-completion.bash
@@ -19,6 +19,7 @@ _nnn () {
-l
-n
-p
+ -s
-S
-v
)
diff --git a/scripts/auto-completion/fish/nnn.fish b/scripts/auto-completion/fish/nnn.fish
index 156e7d4..3ec36eb 100644
--- a/scripts/auto-completion/fish/nnn.fish
+++ b/scripts/auto-completion/fish/nnn.fish
@@ -13,5 +13,6 @@ complete -c nnn -s i -d 'start in navigate-as-you-type mode'
complete -c nnn -s l -d 'start in light mode (fewer details)'
complete -c nnn -s n -d 'use version compare to sort files'
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'
diff --git a/scripts/auto-completion/zsh/_nnn b/scripts/auto-completion/zsh/_nnn
index 04670a1..9171a91 100644
--- a/scripts/auto-completion/zsh/_nnn
+++ b/scripts/auto-completion/zsh/_nnn
@@ -17,6 +17,7 @@ args=(
'(-l)-l[start in light mode (fewer details)]'
'(-n)-n[use version compare to sort files]'
'(-p)-p[copy selection to file]:file name'
+ '(-s)-s[use substring match for filters]'
'(-S)-S[start in disk usage analyzer mode]'
'(-v)-v[show program version and exit]'
'*:filename:_files'