diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-30 18:14:39 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-30 18:14:39 +0530 |
commit | 12669be90081d3a124996554c66abc6f33d8e836 (patch) | |
tree | a1dd27bf0a08c0898c32a307782bc128ad054aef /misc | |
parent | 178705a9517a2a6a8b7c0abfa72b42c6d72e2afa (diff) | |
download | nnn-12669be90081d3a124996554c66abc6f33d8e836.tar.gz |
Update auto-completion scripts
Diffstat (limited to 'misc')
-rw-r--r-- | misc/auto-completion/bash/nnn-completion.bash | 2 | ||||
-rw-r--r-- | misc/auto-completion/fish/nnn.fish | 1 | ||||
-rw-r--r-- | misc/auto-completion/zsh/_nnn | 6 |
3 files changed, 7 insertions, 2 deletions
diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index 6b73d05..75586d2 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -16,6 +16,8 @@ _nnn () -b -c -d + -e + -E -f -H -i diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish index 172a6b1..ac73654 100644 --- a/misc/auto-completion/fish/nnn.fish +++ b/misc/auto-completion/fish/nnn.fish @@ -16,6 +16,7 @@ complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F complete -c nnn -s c -d 'cli-only opener' complete -c nnn -s d -d 'start in detail mode' complete -c nnn -s e -r -d 'load session by name' -x -a '@\t"last session" (ls $sessions_dir)' +complete -c nnn -s E -d 'use EDITOR for undetached edits' complete -c nnn -s f -d 'run filter as cmd on prompt key' complete -c nnn -s H -d 'show hidden files' complete -c nnn -s i -d 'start in navigate-as-you-type mode' diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn index b5ec1d1..5e9cb1c 100644 --- a/misc/auto-completion/zsh/_nnn +++ b/misc/auto-completion/zsh/_nnn @@ -11,9 +11,11 @@ local -a args args=( '(-a)-a[use access time]' '(-b)-b[bookmark key to open]:key char' - '(-c)-d[cli-only opener]' + '(-c)-c[cli-only opener]' '(-d)-d[start in detail mode]' - '(-f)-d[run filter as cmd on prompt key]' + '(-e)-e[load session]:session name' + '(-E)-E[use EDITOR for undetached edits]' + '(-f)-f[run filter as cmd on prompt key]' '(-H)-H[show hidden files]' '(-i)-i[start in navigate-as-you-type mode]' '(-K)-K[detect key collision]' |