Browse Source
Always bash-complete the default account
pull/4/head
Jack Grigg
8 years ago
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with
3 additions and
1 deletions
-
contrib/bitcoin-cli.bash-completion
|
|
@ -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" ) ) |
|
|
|
} |
|
|
|
|
|
|
|