From: Seth House <seth@eseth.com>
To: zsh-users@zsh.org
Subject: Re: Count only visible characters?
Date: Fri, 9 Apr 2010 19:22:04 +0000 (UTC) [thread overview]
Message-ID: <loom.20100409T211627-357@post.gmane.org> (raw)
In-Reply-To: <201004091149.20747.joke@seiken.de>
Joke de Buhr <joke <at> seiken.de> writes:
> If you want to do character counting as suggested earlier you need to escape
> the %F{...} sequences
I used to use %{%} before I found the %F short-form and now I've switched back.
:) Doing a search-and-replace for those delimiters seems so obvious in
retrospect. Works like a charm, thanks a lot! That made my day (and made my
prompt code about half as long).
next prev parent reply other threads:[~2010-04-09 19:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 22:38 Seth House
2010-04-09 9:02 ` Joke de Buhr
2010-04-09 9:13 ` Frank Terbeck
2010-04-09 9:49 ` Joke de Buhr
2010-04-09 19:22 ` Seth House [this message]
2010-04-09 10:44 ` Sebastian Stark
2010-04-09 10:56 ` Sebastian Stark
2010-04-09 12:08 ` Peter Stephenson
2010-04-09 12:27 ` Sebastian Stark
2010-04-09 19:50 ` Peter Stephenson
2010-04-10 4:02 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20100409T211627-357@post.gmane.org \
--to=seth@eseth.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).