Skip to content

Instantly share code, notes, and snippets.

View b-rucel's full-sized avatar
💭
:(){ :|:& };:

Bruce Lim b-rucel

💭
:(){ :|:& };:
  • Los Angeles
View GitHub Profile
@b-rucel
b-rucel / pivx-cli
Created August 5, 2022 17:08
pivx-cli
PIVX Core RPC client version v5.4.0
Usage: pivx-cli [options] <command> [params] Send command to PIVX Core
or: pivx-cli [options] -named <command> [name=value]... Send command to PIVX Core (with named arguments)
or: pivx-cli [options] help List commands
or: pivx-cli [options] help <command> Get help for a command
Options:
-?
git_branch() {
local branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
if [[ -n "$branch" ]]; then
echo "${git_color}${branch}${reset} "
fi
}
git_color=$(tput setaf 2) # green
dir_color=$(tput setaf 6) # cyan
reset=$(tput sgr0)