feat: update println function to support an additional argument for improved formatting
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
parent
620abb2ffe
commit
e074365cc8
2
setup.sh
2
setup.sh
@ -12,7 +12,7 @@ readonly SETUP_MARKER="${HOME}/.dotfiles-setup" # Setup mark
|
|||||||
#Color print function, usage: println "message" "color"
|
#Color print function, usage: println "message" "color"
|
||||||
println() {
|
println() {
|
||||||
color=$2
|
color=$2
|
||||||
printfe "%s\n" $color "$1"
|
printfe "%s\n" $color "$1" true
|
||||||
}
|
}
|
||||||
|
|
||||||
# print colored with printf (args: format, color, message ...)
|
# print colored with printf (args: format, color, message ...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user