|
|
|
|
|
by wpm
143 days ago
|
|
If you're writing a zsh script and not worried about portability, you can also use the prompt expansion colors with "print". print_color () {
print -P "%F{$1}$2%f"
}
And then to use it print_color "green" "This is printed in green"
|
|