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

Re: Count only visible characters?



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).



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