zsh-users
 help / color / mirror / code / Atom feed
From: Lewis Butler <lbutler@covisp.net>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Prompts with emoji issues
Date: Tue, 19 May 2020 16:05:59 -0600	[thread overview]
Message-ID: <91E30643-7EDA-4B23-A8E9-F93BCD8EDABA@covisp.net> (raw)
In-Reply-To: <CAN=4vMrJ=_wBErQOnnSNiCKoN_uR4JVZQsBYHPhdASEM0cAHWA@mail.gmail.com>

On 19 May 2020, at 07:54, Roman Perepelitsa <roman.perepelitsa@gmail.com> wrote:
> You need to fix typos in your prompt. Start with this:

I don't know what message you replied to, but I assume you didn't read the entire thread?

> Note that I've replaced 👹 with $'\U1F479'. This is intentional. It's
> meant to trigger an error if your locale is misconfigured. If you get
> an error saying "zsh: character not in range", your locale isn't
> UTF-8. You need to make it UTF-8.

My local is UTF-8 on all devices.

>  print -r ${(l:${(m)#toon}:: :)}$'XYZ\n'$toon' ^-- must point to Y'

Works fine in Terminal app on macOS and also when tmuxed into FreeBSD, so this is not triggering the issue I am seeing with the prompt in FreeBSD.



-- 



  reply	other threads:[~2020-05-19 22:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13  5:08 Lewis Butler
2020-05-13  6:52 ` Bart Schaefer
2020-05-13 16:47   ` Roman Perepelitsa
2020-05-13 21:14   ` Lewis Butler
2020-05-13 21:26     ` Lewis Butler
2020-05-14  3:54       ` Bart Schaefer
2020-05-14  9:50         ` Lewis Butler
2020-05-14 12:13           ` Lewis Butler
2020-05-14 17:55           ` Bart Schaefer
2020-05-14 18:18             ` Lewis Butler
2020-05-17 19:50               ` Lewis Butler
2020-05-17 20:39                 ` Bart Schaefer
2020-05-18  3:41                 ` Bart Schaefer
2020-05-18 12:23                 ` Lewis Butler
2020-05-19  0:26                   ` Bart Schaefer
2020-05-19 13:21                     ` Lewis Butler
2020-05-19 13:54                       ` Roman Perepelitsa
2020-05-19 22:05                         ` Lewis Butler [this message]
2020-05-19 23:20                           ` Daniel Shahaf
2020-05-20  5:16                           ` Roman Perepelitsa

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=91E30643-7EDA-4B23-A8E9-F93BCD8EDABA@covisp.net \
    --to=lbutler@covisp.net \
    --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).