Enable better CLI

This commit is contained in:
Aaron Dewes 2021-11-09 17:47:29 +00:00
parent 2340a57467
commit 6a5902ab15
2 changed files with 4 additions and 2 deletions

View File

@ -61,6 +61,8 @@ if [[ ! -z "${CITADEL_OS:-}" ]]; then
# Apply config.txt changes
curl https://raw.githubusercontent.com/runcitadel/os/main/stage1/00-boot-files/files/config.txt > /boot/config.txt
echo "source ~/citadel/setenv" | tee -a /home/citadel/.bashrc
fi
# Checkout to the new release

4
setenv
View File

@ -6,10 +6,10 @@
CITADEL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))"
echo "Citadel root directory is ${CITADEL_ROOT}"
alias update="${CITADEL_ROOT}/scripts/update/update"
alias citadel-update="${CITADEL_ROOT}/scripts/update/update"
alias lncli="docker exec -it lnd lncli"
alias bitcoin-cli="docker exec -it bitcoin bitcoin-cli"
alias docker-compose="sudo docker compose"
alias docker="sudo docker"
alias debug="${CITADEL_ROOT}/scripts/debug"
alias app="${CITADEL_ROOT}/scripts/app"