Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh history bug ?
- X-seq: zsh-workers 33693
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bernhard Tittelbach <xro@xxxxxxxxxxx>
- Subject: Re: zsh history bug ?
- Date: Fri, 14 Nov 2014 02:51:54 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B+aASmXYDZM+wwpydgXDqaNvE85LW7GzOTTrNuehcng=; b=bOXIjQ9k3Er+oeOABF345MKdD36vxFX/8x5EjNjs3qdwOT0BUB19+TziT8QsI0faKh 5QFzhX2wiNvUV4YkppShMtK3tfwMpljte1GMBgXR2dMyCH9zxA95iQAzS817eOpxg0aA EC0F5BJk8/xllsNm1rlcl7YpOk9xOYuhz/QHcgroEfvTaJNqw/cPt1pS2qfJLNpU2Mnk 1y5u/y4BS4pYzArBH3ErvipXUBlnYw/0JqzKaZ1LUMacYdP5Dsx9CNy4jkLPSyuEgEEc rbIGwfbFUXKqo1JRdlMSBRgBf35JjOOXkVyfBqvtYS9HH92VF3Ytx7keXv/Vvhuk88Ik 5CoA==
- In-reply-to: <54655C0F.8020308@realraum.at>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <m3bmar$dl3$1@ger.gmane.org> <CAH+w=7YbSbKYrpH_Q2XXjTQK7wEvw5YQvOJGF_4kMeEnL9u97Q@mail.gmail.com> <54655C0F.8020308@realraum.at>
On Fri, Nov 14, 2014 at 2:34 AM, Bernhard Tittelbach <xro@xxxxxxxxxxx> wrote:
> Am 2014-11-05 um 01:12 schrieb Bart Schaefer:
>> On Nov 4, 2014 3:27 PM, "Bernhard Tittelbach" <xro@xxxxxxxxxxx> wrote:
>>
>>> # Then I get the last command from the history by using <arrow up>
>>> # but strangley some chars seem to have moved and the CL looks like this
>>> % dtc -E all -I ts tst.dtss -O tb -o est.dtbb<enter>
>>
>> If possible, please try this in a newer version of the shell. It sounds
>> very much like something that was fixed within the past several months.
>> (The current zsh version is 5.0.7.)
>>
>
> I've been working a few days with 5.0.7 now and can report the following:
>
> 1) I seem to encounter the bug less often
> 2) The bug, or a variant thereof is still present
>
> i.e.:
>
> % mkdir -p libs/jquery
> % cd <Alt>.
> resulted in
> % cd lib/jquuery
>
> When I previously encountered the bug, I believe only the lookup from
> history was garbled, i.e. the contents of .zsh_history were fine.
> I'll have to confirm this on a different system though.
>
> Now the .zsh_history definitely holds a garbled version of the executed
> command line:
>
> % ls
> libs/
> % ls libs/
> jquery/
> % tail ~/.zsh_history | grep mkdir
> : 1415928181:0;mkdir -p lib/jquuery
Check if setopt nohistreduceblanks stops the problem.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author