Make colours work now focus has been disabled

Jonathan Hodgson 4 years ago
parent 1d3205bfa2
commit c1ae69fb0f
  1. 2
      shells/zsh/includes/colors.zsh

@ -306,7 +306,7 @@ function backgroundColor() {
function foregroundColor() { function foregroundColor() {
echo -n "%F{$(getColor $1)}" echo -n "%F{$(getColor $1)}"
} }
HASFOCUS="true"
function focusBackgroundColor() { function focusBackgroundColor() {
if [ "$HASFOCUS" = "true" ]; then if [ "$HASFOCUS" = "true" ]; then
backgroundColor "$@" backgroundColor "$@"

Loading…
Cancel
Save