Skip to content

Commit a18367b

Browse files
committed
tweak: node-dusk
1 parent 6acae82 commit a18367b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/blockchain/snippets/node-dusk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cat << 'EOF' >> ~/.profile
7474
# Dusk specific commands
7575
alias balance='rusk-wallet balance --spendable'
7676
alias blocks='echo "Current: $(current)" ; echo "Latest : $(latest)"'
77-
alias chosen='i=1; zgrep "Block generated" /var/log/rusk.log* | while read -r line; do printf "%d: %s\\n" $i "$line"; i=$((i+1)); done'
77+
alias chosen='i=1; zgrep "Block generated" /var/log/rusk.log* | while read -r line; do printf "\\e[30;1;43m %d \\e[0m %s\\n" $i "$line"; i=$((i+1)); done'
7878
alias current='curl -s http://127.0.0.1:8080/02/Chain --data-raw '"'"'{"topic":"gql","data":"query{block(height:-1){header{height}}}"}'"'"' | jq .block.header.height'
7979
alias latest='ruskquery block-height'
8080
alias logs='tail -f /var/log/rusk.log'

0 commit comments

Comments
 (0)