Update completion scripts

This commit is contained in:
Arun Prakash Jana 2020-04-24 09:36:33 +05:30
parent 7dab9d0d86
commit b11bdc9361
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ complete -c nnn -s Q -d 'disable quit confirmation'
complete -c nnn -s r -d 'show cp, mv progress (Linux-only)' complete -c nnn -s r -d 'show cp, mv progress (Linux-only)'
complete -c nnn -s R -d 'disable rollover at edges' complete -c nnn -s R -d 'disable rollover at edges'
complete -c nnn -s s -r -d 'load session by name' -x -a '@\t"last session" (ls $sessions_dir)' complete -c nnn -s s -r -d 'load session by name' -x -a '@\t"last session" (ls $sessions_dir)'
complete -c nnn -s S -d 'start in disk usage analyzer mode' complete -c nnn -s S -d 'persistent session'
complete -c nnn -s t -r -d 'timeout in seconds to lock' complete -c nnn -s t -r -d 'timeout in seconds to lock'
complete -c nnn -s T -r -d 'a d e r s t v' complete -c nnn -s T -r -d 'a d e r s t v'
complete -c nnn -s V -d 'show program version and exit' complete -c nnn -s V -d 'show program version and exit'

View file

@ -27,7 +27,7 @@ args=(
'(-r)-r[show cp, mv progress (Linux-only)]' '(-r)-r[show cp, mv progress (Linux-only)]'
'(-R)-R[disable rollover at edges]' '(-R)-R[disable rollover at edges]'
'(-s)-s[load session]:session name' '(-s)-s[load session]:session name'
'(-S)-S[start in disk usage analyzer mode]' '(-S)-S[persistent session]'
'(-t)-t[timeout to lock]:seconds' '(-t)-t[timeout to lock]:seconds'
'(-T)-T[a d e r s t v]:key' '(-T)-T[a d e r s t v]:key'
'(-V)-V[show program version and exit]' '(-V)-V[show program version and exit]'