mirror of
https://github.com/jarun/nnn.git
synced 2024-11-16 08:03:16 +00:00
Update auto-completion scripts
This commit is contained in:
parent
178705a951
commit
12669be900
|
@ -16,6 +16,8 @@ _nnn ()
|
||||||
-b
|
-b
|
||||||
-c
|
-c
|
||||||
-d
|
-d
|
||||||
|
-e
|
||||||
|
-E
|
||||||
-f
|
-f
|
||||||
-H
|
-H
|
||||||
-i
|
-i
|
||||||
|
|
|
@ -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 c -d 'cli-only opener'
|
||||||
complete -c nnn -s d -d 'start in detail mode'
|
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 -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 f -d 'run filter as cmd on prompt key'
|
||||||
complete -c nnn -s H -d 'show hidden files'
|
complete -c nnn -s H -d 'show hidden files'
|
||||||
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
|
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
|
||||||
|
|
|
@ -11,9 +11,11 @@ local -a args
|
||||||
args=(
|
args=(
|
||||||
'(-a)-a[use access time]'
|
'(-a)-a[use access time]'
|
||||||
'(-b)-b[bookmark key to open]:key char'
|
'(-b)-b[bookmark key to open]:key char'
|
||||||
'(-c)-d[cli-only opener]'
|
'(-c)-c[cli-only opener]'
|
||||||
'(-d)-d[start in detail mode]'
|
'(-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]'
|
'(-H)-H[show hidden files]'
|
||||||
'(-i)-i[start in navigate-as-you-type mode]'
|
'(-i)-i[start in navigate-as-you-type mode]'
|
||||||
'(-K)-K[detect key collision]'
|
'(-K)-K[detect key collision]'
|
||||||
|
|
Loading…
Reference in a new issue