Update direnv completion

This commit is contained in:
Shohei YOSHIDA 2024-08-04 14:19:43 +09:00
parent 4dfb7a51c5
commit 5e40b7ba09
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 7 additions and 2 deletions

View File

@ -25,7 +25,7 @@
# Description
# -----------
#
# Completion script for direnv 2.32.3 (https://direnv.net/)
# Completion script for direnv 2.34.0 (https://direnv.net/)
#
# ------------------------------------------------------------------------------
# Authors
@ -69,7 +69,7 @@ _direnv() {
'*:: :->command_args' && ret=0
case $state in
command_args)
(command_args)
case $words[1] in
(allow|permit|grant|block|deny|revoke|edit)
_arguments \
@ -93,6 +93,11 @@ _direnv() {
'2:integrity hash' \
&& ret=0
;;
(status)
_arguments \
'--json[print status information in JSON format]' \
&& ret=0
;;
(version)
_arguments \
'1:version at least' \