mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Update auto-complete scripts
This commit is contained in:
parent
f2618a95fb
commit
bb0f1db965
|
@ -13,7 +13,9 @@ _nnn () {
|
||||||
opts=(
|
opts=(
|
||||||
-a
|
-a
|
||||||
-b
|
-b
|
||||||
|
-c
|
||||||
-d
|
-d
|
||||||
|
-f
|
||||||
-H
|
-H
|
||||||
-i
|
-i
|
||||||
-n
|
-n
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
|
|
||||||
complete -c nnn -s a -d 'use access time'
|
complete -c nnn -s a -d 'use access time'
|
||||||
complete -c nnn -s b -r -d 'bookmark key to open'
|
complete -c nnn -s b -r -d 'bookmark key to open'
|
||||||
|
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 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'
|
||||||
complete -c nnn -s n -d 'use version compare to sort files'
|
complete -c nnn -s n -d 'use version compare to sort files'
|
||||||
|
|
|
@ -11,7 +11,9 @@ 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]'
|
||||||
'(-d)-d[start in detail mode]'
|
'(-d)-d[start in detail mode]'
|
||||||
|
'(-f)-d[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]'
|
||||||
'(-n)-n[use version compare to sort files]'
|
'(-n)-n[use version compare to sort files]'
|
||||||
|
|
Loading…
Reference in a new issue