Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to redirect output without escape sequences to a file



On May 12,  8:10pm, Thorsten Kampe wrote:
}
} >     PS4='%F{cyan}%B+%b%f%1N[%i]%F{cyan}%B:%b%f '
} 
} I did that and this looks much more readable now. Unfortunately on a 
} machine of mine with an older zsh (4.2.6) this displays as {cyan}.
} 
} Whould it make sense to go back to the (older?) "autoload -U colors; 
} colors"/"fg_bold[cyan]" invocation on this machine?

I'd say yes but I'm a bit biased (having written "colors") ...

I'd use %{$fg[cyan]%}%B+%{$reset_color%} (no need to %b, reset clears
the whole palette).  Or %b%{$fg[default]%} if you prefer symmetry.



Messages sorted by: Reverse Date, Date, Thread, Author