zsh-workers
 help / color / mirror / code / Atom feed
From: "Darío Cuevas" <superdarion@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: Right-arrow character and autocomplete
Date: Mon, 11 Oct 2021 19:01:47 +0200	[thread overview]
Message-ID: <CAAA5jK0NkA4rMZ3G8TJB3SE5rd_QVNwq6z037tECpVCpAS70TA@mail.gmail.com> (raw)
In-Reply-To: <CAAA5jK29fniAzbjoJMwX2ikG9ugwbt9p50B4eQKG3oXWKdAd+w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

Apologies, seems I forgot to reply to all. See my message below.

Tl:dr: my OS had indeed a locale problem which I now corrected. Now it all
works well. Thanks for your help and sorry for the false report.

On Mon, Oct 11, 2021, 15:14 Darío Cuevas <superdarion@gmail.com> wrote:

> That was a quick reply.
>
> I checked and my locale was wrong (some values were set to "C",
> instead of the de_DE.UTF-8 of the rest), caused by some bad KDE plasma
> configuration file. It actually helped me solve an unrelated problem
> I've had for a while, so thanks a lot!
>
> Sorry to have reported it as a bug when it was my system's fault.
>
> Best regards,
> Darío
>
>
> El lun, 11 oct 2021 a las 14:14, Roman Perepelitsa
> (<roman.perepelitsa@gmail.com>) escribió:
> >
> > On Mon, 11 Oct 2021 at 14:05, Darío Cuevas <superdarion@gmail.com>
> wrote:
> >>
> >> To reproduce, one
> >> needs only do PROMPT="→" on .zshrc, open a terminal, start typing some
> >> command (e.g. ls) and hit TAB: the command (ls) will be written twice.
> >
> >
> > This usually happens when you put non-ascii characters in PROMPT (like
> that arrow) but your locale is not UTF-8. Run `locale` to confirm. To fix
> this, install and enable a UTF-8 locale.
> >
> > This can also happen when TERM environment variable doesn't match the
> real terminal type. To fix this you need to avoid overwriting the value of
> TERM set by the terminal.
> >
> > Roman.
>
>
>
> --
> Yes, indeed.
>

[-- Attachment #2: Type: text/html, Size: 2139 bytes --]

      parent reply	other threads:[~2021-10-11 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 12:04 Darío Cuevas
2021-10-11 12:14 ` Roman Perepelitsa
2021-10-11 16:40   ` Bart Schaefer
     [not found]   ` <CAAA5jK29fniAzbjoJMwX2ikG9ugwbt9p50B4eQKG3oXWKdAd+w@mail.gmail.com>
2021-10-11 17:01     ` Darío Cuevas [this message]

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=CAAA5jK0NkA4rMZ3G8TJB3SE5rd_QVNwq6z037tECpVCpAS70TA@mail.gmail.com \
    --to=superdarion@gmail.com \
    --cc=zsh-workers@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).