diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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) |