mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update auto-completion scripts
This commit is contained in:
parent
02bb398550
commit
0b0605813d
|
@ -18,12 +18,14 @@ _nnn ()
|
|||
-c
|
||||
-C
|
||||
-d
|
||||
-D
|
||||
-e
|
||||
-E
|
||||
-f
|
||||
-F
|
||||
-g
|
||||
-H
|
||||
-J
|
||||
-K
|
||||
-l
|
||||
-n
|
||||
|
|
|
@ -17,12 +17,14 @@ 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 'color by context'
|
||||
complete -c nnn -s d -d 'start in detail mode'
|
||||
complete -c nnn -s D -d 'dirs in context color'
|
||||
complete -c nnn -s e -d 'open text files in $VISUAL/$EDITOR/vi'
|
||||
complete -c nnn -s E -d 'use EDITOR for undetached edits'
|
||||
complete -c nnn -s f -d 'use readline history file'
|
||||
complete -c nnn -s F -d 'show fortune'
|
||||
complete -c nnn -s g -d 'regex filters'
|
||||
complete -c nnn -s H -d 'show hidden files'
|
||||
complete -c nnn -s J -d 'no auto-proceed on select'
|
||||
complete -c nnn -s K -d 'detect key collision'
|
||||
complete -c nnn -s l -r -d 'lines to move per scroll'
|
||||
complete -c nnn -s n -d 'start in type-to-nav mode'
|
||||
|
|
|
@ -15,12 +15,14 @@ args=(
|
|||
'(-c)-c[cli-only opener]'
|
||||
'(-C)-C[color by context]'
|
||||
'(-d)-d[start in detail mode]'
|
||||
'(-D)-D[dirs in context color]'
|
||||
'(-e)-e[open text files in $VISUAL/$EDITOR/vi]'
|
||||
'(-E)-E[use EDITOR for undetached edits]'
|
||||
'(-f)-f[use readline history file]'
|
||||
'(-F)-F[show fortune]'
|
||||
'(-g)-g[regex filters]'
|
||||
'(-H)-H[show hidden files]'
|
||||
'(-J)-J[no auto-proceed on select]'
|
||||
'(-K)-K[detect key collision]'
|
||||
'(-l)-l[lines to move per scroll]:val'
|
||||
'(-n)-n[start in type-to-nav mode]'
|
||||
|
|
Loading…
Reference in a new issue