Always bash-complete the default account
This commit is contained in:
parent
ca483b4064
commit
a01daac728
|
@ -20,7 +20,9 @@ _zcash_rpc() {
|
|||
# Add wallet accounts to COMPREPLY
|
||||
_zcash_accounts() {
|
||||
local accounts
|
||||
accounts=$(_zcash_rpc listaccounts | awk -F '"' '{ print $2 }')
|
||||
# Accounts are deprecated in Zcash
|
||||
#accounts=$(_zcash_rpc listaccounts | awk -F '"' '{ print $2 }')
|
||||
accounts="\\\"\\\""
|
||||
COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W "$accounts" -- "$cur" ) )
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue