From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6674 invoked from network); 11 Oct 2021 12:15:11 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Oct 2021 12:15:11 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633954511; b=qOwfQyO4j/wWRuBSseKdDwM6ddBHq1dH/4Z5l+c+pcyFJNIg4qqpE52jdzHmG95sdRjCcTZTZu tR3Zls3aiDnTBnDDNDgzeV+wkMvCPBQ98bOEIy3BnuY+16ABKB0+wY4XiHspZTyT4OO0CJ7BRF kxujWB9xD6lmxBTdwhqFkSL450FMdShsHvUl6X140l7ntMsweqRo+d/knjkHoyCeNNEXGjWkBo psP1ptIu0NJpRXApNSpkFA5SNOSd2Zav9Rvfhi4geMurGwZsXir2Ny9nYlId1hvNhX+LJLfa4A csrKJw6QGDQuiJwlD9CRoALva7Llv8wYFe1EhLAov7U4YA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-qt1-f171.google.com) smtp.remote-ip=209.85.160.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633954511; bh=FFt3P8qqkOmtJJpYo7sMUBiXTh0mq9BlG0XKzB+V+6A=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=KV7qsmmKdS8T21jZX4F2ud7205N9stVVOG5dFX3F/q94K0Vmh8Q2TZmEmGuh8bGp6YNO3hFw78 adtDt0SsMsn7xJScaE9dhJHawvkmFRxI8M6wB7jx2SuoSEjUwDOIBgoqz3y84ZhJe/OpP84DMS K/2Wmp+A2zKSjmmnZnnTNGEFw7Ng36RsQyPMB7Sxgos2wutoPgp1qm1OgE28kOg+vJG5Rt+gTd HdCBWQiBf1KHVZ6vQtK1rm/7Llp3FZZFfg7yl9trXT3PTOU846xDcIO0ll7tRVeIQdPDfCCtHw cAPslx95s5kfTdolg6Ba0V9zWA0y8mFy25p45yPjZeusjA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=FFt3P8qqkOmtJJpYo7sMUBiXTh0mq9BlG0XKzB+V+6A=; b=fHNikL1IbMj5J9/8UKqqyCWkW3 fqC4QwohSfatgE6li60w0695xp4rdPKoQebUqxCJPk+Yqc3z1fT7soLUeOZ6Pi16iLDxPOqGEWB7l R08tT0lquxwNeWwrcldJmLXjRZPPm9BSdz6ohpc3rAn3iK3hJv9g7HXfPt4dfm3O03pyFrGls7bfk Z7p9CwrkR4q+Q9La0ZFHGrigmn7LNx11EgbwT7sgKyGJKMlcoc0VEhCp/aKmYGxpvdZaFiPDElauc W2ETRbjNA0IjKBkbdytDbkz3IUfMJOF/4meO8sVluG0bCTvfp/HcLc3JUGxKB34d2Pj2tnjCytnMk Po9Uv89A==; Received: from authenticated user by zero.zsh.org with local id 1mZuD0-000PuG-Oe; Mon, 11 Oct 2021 12:15:10 +0000 Authentication-Results: zsh.org; iprev=pass (mail-qt1-f171.google.com) smtp.remote-ip=209.85.160.171; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-qt1-f171.google.com ([209.85.160.171]:40500) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mZuCk-000PaP-29; Mon, 11 Oct 2021 12:14:54 +0000 Received: by mail-qt1-f171.google.com with SMTP id o12so4359064qtq.7 for ; Mon, 11 Oct 2021 05:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FFt3P8qqkOmtJJpYo7sMUBiXTh0mq9BlG0XKzB+V+6A=; b=NcMpu/979hoCK4X7l1iP0XvxFKzm4myhRFLR4p72rfNFCL8Cb2QvpUEy45lBuAvp3w RlmV0kkrnBTDYUAabfZyBxx7mKFqF82kKLZSb0mZmTNOqemcKClQGD/laNejgfEBoyp7 rPFBym8F+wIQDi9u3ovCRHEaDjBVJmv4Fr4ezLBZhcITubYYN/qqCxelYc7Vw0nZRFMH EnZOnJwqHFHW3r65cPbkGUuwBTevP2Oc/Tlzo6gxWnnlw5rAiJltn6w8XP75bAgfJzLD v5n7iY0eezY6JW7icyUGiWdq89KbZjdUSM4r7v4ZJkoNTR5UHsI00CMG1dNmQl5bDjdk V1ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FFt3P8qqkOmtJJpYo7sMUBiXTh0mq9BlG0XKzB+V+6A=; b=Hb0AWyVJEajN0ajnlJtuNVtAdCSOFJgUWBD/OM8FtNjLQygtz/GTTZZtVghATan7z/ tLwUY0vwh7jKtGY9PZycuYB36HChJN8HlFSlbtjBgkM/SBK7P6I9PtFlmgLgkCvmTvHk GHZP/4UJt8K66ekfYnuUA27fckODp2NM6To1ngprMIqcZybl2y21hlZng47MG51KXUPr LuHzk1p66LC9k6Hl62cUfl8pqn4t/eKlCYkqwCnSZ1NUjwyUW7/b3ral2pf95hPI/j3j TFX4Q5cO2hr77Z1+61sTmD0EhHQ8r7id6ncDXragLkTPcgR4XqulrpKqWYo8/rNpR3Ce aNnw== X-Gm-Message-State: AOAM530jDCoVys0tzE2T2Dd/z+0Z5xAlxvS590aOagiNZOL3goYiceva JNnz0zdWm5EwhmGH/pLc3fdr5MWUY+WfPHEvzAzuDBDN X-Google-Smtp-Source: ABdhPJzFXCMa0KGlY7LO5SuLtixgHjlfdof/ct3C2bRtBqYnPeqMyB/2OqJgd2WQfx5vwbJqJQByI8jnGwEGQEort/U= X-Received: by 2002:ac8:3b5a:: with SMTP id r26mr14131560qtf.171.1633954493000; Mon, 11 Oct 2021 05:14:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roman Perepelitsa Date: Mon, 11 Oct 2021 14:14:42 +0200 Message-ID: Subject: Re: Right-arrow character and autocomplete To: =?UTF-8?Q?Dar=C3=ADo_Cuevas?= Cc: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="000000000000226f7405ce12ad54" X-Seq: 49467 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --000000000000226f7405ce12ad54 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 11 Oct 2021 at 14:05, Dar=C3=ADo Cuevas wro= te: > To reproduce, one > needs only do PROMPT=3D"=E2=86=92" on .zshrc, open a terminal, start typi= ng 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. --000000000000226f7405ce12ad54 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 11 Oct 2021 at 14:05, Dar=C3=ADo Cuevas <superdarion@gmail.com> wrote:
<= div class=3D"gmail_quote">
To reproduce, one needs only do PROMPT=3D"=E2=86=92" on .zshrc, open a terminal, st= art 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 loca= le 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 termi= nal type. To fix this you need to avoid overwriting the value of TERM set b= y the terminal.

Roman.
--000000000000226f7405ce12ad54--