Browse Source
Merge pull request #49 from vnnkl/addBashCompletion
add bash completion to bonuses
#146
Christian Rotzoll
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
home.admin/91addBonus.sh
|
|
@ -13,5 +13,11 @@ chmod +x lnchannels |
|
|
|
sudo cp lnchannels /usr/local/bin |
|
|
|
sudo cp lnbalance /usr/local/bin |
|
|
|
echo "OK" |
|
|
|
echo "installing bash completion for bitcoin-cli and lncli" |
|
|
|
wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/contrib/bitcoin-cli.bash-completion |
|
|
|
wget https://raw.githubusercontent.com/lightningnetwork/lnd/master/contrib/lncli.bash-completion |
|
|
|
sudo cp *.bash-completion /etc/bash_completion.d/ |
|
|
|
echo "OK - bash completion available after next login" |
|
|
|
echo "type \"bitcoin-cli getblockch\", press [Tab] → bitcoin-cli getblockchaininfo" |
|
|
|
cd |
|
|
|
rm -r /home/admin/tmpScriptDL |
|
|
|