Skip to content

Instantly share code, notes, and snippets.

View moontan's full-sized avatar
📖

Axel Kirch moontan

📖
View GitHub Profile
@moontan
moontan / ANSI sequences for use in shell scripts
Last active August 1, 2020 08:30
bash script ANSI sequences
#!/bin/bash
# use the following variables as in
# echo -e "[$TYPE…][$FG…][$BG…]formatted text[$TYPERSALL]"
# to set colours and other formatting
# 8<-------------------- ANSI-Sequences ------------------------
# (remove this paragraph if you prefer things plain and simple)
# --------------------------------------------------------------
# Type:
TYPERSALL="\x1B[0m" # reset all properties
TYPEBOLD="\x1B[1m" # bold type on
Verifying that +akirch is my openname (Bitcoin username). https://onename.io/akirch