Add function to usage
This commit is contained in:
parent
c2a3f3cc56
commit
13f4fcb745
@ -6,3 +6,7 @@ echo "this is ${MAGENTA}magenta ${BLINK}blink${NC} text${NC}"
|
||||
|
||||
# or you can use the functions
|
||||
echo $(gray "[INFO] " && green "This is gree test")
|
||||
|
||||
# there can be a function that uses the colors
|
||||
function info() { echo $(gray "[INFO] " && yellow "$@"); }
|
||||
info "This is a info test"
|
||||
|
Loading…
Reference in New Issue
Block a user