Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug? piping ls to anonymous function changes subsequent behaviour of ls
- X-seq: zsh-users 26094
- From: vapnik spaknik <vapniks@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug? piping ls to anonymous function changes subsequent behaviour of ls
- Date: Tue, 29 Sep 2020 19:06:50 +0000 (UTC)
- Archived-at: <https://zsh.org/users/26094>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-09/1980167393.1281.1601406410999%40mail.yahoo.com>
- Authentication-results: zsh.org; iprev=pass (sonic316-54.consmr.mail.gq1.yahoo.com) smtp.remote-ip=98.137.69.30; dkim=pass header.d=yahoo.com header.s=s2048 header.a=rsa-sha256; dmarc=pass header.from=yahoo.com; arc=none
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1601406412; bh=f/T2SPlzJ4DqFOD42XXvMTY/NN/Wrhm0El2Q434cDG0=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=Ruzz6jW9ZOqhQ37bDFZfwRpUHWAeMdN3QMBlCqqH7bxZl8JrYs4aKQql2egfTfa+rEnKSYZ9tlwUBywq4D8RWUyLHQwNvRwQ5Ob4zJyw1jYrGhQTgIdYQeaqBKmkL7VpUOwy/z6xgYmXfISi7ZYNiu9TcrcD+yHqVC9I4rHptX2RwaUPUk4Dz73M5ld1oJsqiLlum6DC8C9COvrL6sjEYlGERsJ2c0ZW0jsaeHIiZ+SMfSc+0RkarvMFFkgV3Gqb3ydcKnrWhwFhybtwBR32hn0QtzhmOa2s61mxwu1mi6diuwfvJL4xIqplK/Z35YCgT8m+tCU40QjRfNzRvkew4g==
- In-reply-to: <CAH+w=7aTtJtD8qDvg2MNQZDD4=_4xcGJBTnf2Gpt_Om36Qe84g@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <1846474183.1100394.1601253063804.ref@mail.yahoo.com> <1846474183.1100394.1601253063804@mail.yahoo.com> <CAH+w=7a2sPR8mecmaV8YuotyUJ9Ma90NxyyPrsL+SH6xJyC0yw@mail.gmail.com> <1678353929.1101107.1601254926037@mail.yahoo.com> <CAH+w=7aTtJtD8qDvg2MNQZDD4=_4xcGJBTnf2Gpt_Om36Qe84g@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
On Monday, September 28, 2020, 03:36:17 AM GMT+1, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>Something else funny is happening here. This is defining /bin/ls as a
>function with body "echo foo", as if the "|" were not present in the
>command at all.
>
>Try using "set -x" (or "setopt xtrace" if you prefer) before the first
>attempt to pipe.
After spending some time fiddling with my ~/.zshrc config file I found the culprit:
eval "$(fasd --init zsh-hook)"
I've submitted a bug report to the fasd repo: https://github.com/clvv/fasd/issues/156
Messages sorted by:
Reverse Date,
Date,
Thread,
Author