Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
BUG: `ls\<enter><enter>` seg fault
- X-seq: zsh-workers 37098
- From: Ollie Ford <me@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: BUG: `ls\<enter><enter>` seg fault
- Date: Thu, 12 Nov 2015 23:39:36 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ojford_com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:content-type; bh=HmCsEG9oAS11cJh1sSAYMQahg+GtdAen623AOL8Nmio=; b=Kl2wy1/or0bnbXxUXj0fn62u7sJGYmIlC7VOPnlX3xqHHc1aWXV0VIq7PKiRXEs8K2 +l8I5PGdn+cPcFV7EHASAaCchK5o5Gwt3MO4Hp1K+gzjJ5fAWhC5P/9GS/xo1bVjX3RD 4dsthC9C7uC47TW9vQtnoiQrYmDI6QDazMVTZxDaGRvM0Xg0wQn9xYeiuaVRe3SawjNc 8gbKLP1POK3ciAvEjM+rqKQDbLHAWsjQqREGff2jPOVPEJkwkerHlcHAupKQ+BwPQTYq aqbFImeh0UtAKCcHgY7++586si44CMgYbWaIeqqT5hf3I25th/hRzBzvchnR4NW6hc6H Ubaw==
- 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
I am not a subscriber.
In zsh --version:
zsh 5.0.8 (x86_64-apple-darwin15.0)
Iff there is an alias set on ls, then entering `ls\` followed by twice the
return key (i.e. the line break was accidental; the user just meant `ls`)
causes a segmentation fault.
In terminal, this looks likes like a Ctrl-d logout:
(`alias ls=ls -GFh` in zshrc)
% ls\
>
[Process completed]
In a fresh zsh -f we see why:
% alias ls=ls
% ls\
>
zsh: segmentation fault zsh -f
Regards,
Ollie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author