Update auto-complete scripts

This commit is contained in:
Arun Prakash Jana 2019-10-06 18:57:15 +05:30
parent f2618a95fb
commit bb0f1db965
No known key found for this signature in database
GPG key ID: A75979F35C080412
3 changed files with 6 additions and 0 deletions

View file

@ -13,7 +13,9 @@ _nnn () {
opts=( opts=(
-a -a
-b -b
-c
-d -d
-f
-H -H
-i -i
-n -n

View file

@ -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'

View file

@ -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]'