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:
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"
|
||||
println() {
|
||||
color=$2
|
||||
printfe "%s\n" $color "$1"
|
||||
printfe "%s\n" $color "$1" true
|
||||
}
|
||||
|
||||
# print colored with printf (args: format, color, message ...)
|
||||
|
Reference in New Issue
Block a user