update zsh completion

This commit is contained in:
fryorcraken 2026-02-27 15:26:57 +11:00
parent e2175132f5
commit d9b2b0c824
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -181,7 +181,8 @@ _wallet_account() {
;;
new_args)
_arguments \
'--cci[Chain index of a parent node]:chain_index:'
'--cci[Chain index of a parent node]:chain_index:' \
'(-l --label)'{-l,--label}'[Label to assign to the new account]:label:'
;;
esac
;;
@ -343,7 +344,6 @@ _wallet_config() {
local -a config_keys
config_keys=(
'all'
'override_rust_log'
'sequencer_addr'
'seq_poll_timeout'
@ -370,7 +370,12 @@ _wallet_config() {
;;
args)
case $line[1] in
get|description)
get)
_arguments \
'(-a --all)'{-a,--all}'[Print all config fields]' \
'::key:compadd -a config_keys'
;;
description)
compadd -a config_keys
;;
set)