Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Colorize command output
- X-seq: zsh-users 8536
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Colorize command output
- Date: Mon, 21 Feb 2005 16:34:50 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <c6d01b09219451054fb9bd977875b4f6@xxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Mon, 21 Feb 2005 17:16:43 +0100, wrote:
>Hi,
>
>To make conflicts stand out, I'd like to colorize the output of the svn
>command so that lines starting with C are displayed in red. My first
>shot at this was
>
>% svn status | sed -e 's/^C/\e[31mC\e[0m/g'
>
I guess you could cheat by using grep as a colorizer
echo "fred" | grep --color '.'
zzapper (vim, cygwin, wiki & zsh)
--
vim -c ":%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?"
http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author