aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index 15f92d0..c7ec09d 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
## number functions
-**pb_number**
+###pb_number
pb_isuint is var unsigned int
pb_isint is var signed int
@@ -11,11 +11,15 @@
## colour functions
-**pb_colour**
+###pb_colour
pb_fg 0-254 set foreground colour
pb_bg 0-254 set background colour
- pb_nc remove coulours
+ pb_nc remove colours
+
+ **Usage**
+ source ./pb
+ printf %b "$(pb_bg 196)$(pb_fg 254) RED $(pb_nc)\n"
## Bash string manipulation cheatsheet
[https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1](https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1)