help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: "Darío Cuevas" <superdarion@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Right-arrow character and autocomplete
Date: Mon, 11 Oct 2021 14:14:42 +0200	[thread overview]
Message-ID: <CAN=4vMpmJGONGyibTdAJhU4+twx22b7Anrp26nZ4GTP8iSJgoQ@mail.gmail.com> (raw)
In-Reply-To: <CAAA5jK0gikabxf7SxkMbnVvPJSfQv+x+XCbuBChmixSuzOh8iQ@mail.gmail.com>

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

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.


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

  reply	other threads:[~2021-10-11 12:15 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 [this message]
2021-10-11 16:40   ` Bart Schaefer
     [not found]   ` <CAAA5jK29fniAzbjoJMwX2ikG9ugwbt9p50B4eQKG3oXWKdAd+w@mail.gmail.com>
2021-10-11 17:01     ` Darío Cuevas

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=4vMpmJGONGyibTdAJhU4+twx22b7Anrp26nZ4GTP8iSJgoQ@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=superdarion@gmail.com \
    --cc=zsh-workers@zsh.org \


* 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


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