Browse Source

Always bash-complete the default account

pull/4/head
Jack Grigg 8 years ago
parent
commit
a01daac728
No known key found for this signature in database GPG Key ID: 6A6914DAFBEA00DA
  1. 4
      contrib/bitcoin-cli.bash-completion

4
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" ) )
}

Loading…
Cancel
Save