From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: zsh-users@zsh.org
Subject: Re: whence output varies with dot vs. realpath in $PATH
Date: Mon, 31 Oct 2022 15:10:37 +0100 [thread overview]
Message-ID: <CAN=4vMr+Xr-ETN9BnF634YhXZR5Epd3soj_7Tf1Nu-4_ijJZqw@mail.gmail.com> (raw)
In-Reply-To: <bb68f561-7edd-4547-c83e-00c1b12c1c1e@eastlink.ca>
On Mon, Oct 31, 2022 at 3:06 PM Ray Andrews <rayandrews@eastlink.ca> wrote:
>>
> On 2022-10-31 06:43, Roman Perepelitsa wrote:
> >
> > % docker run -e TERM -it --rm zshusers/zsh:5.9 zsh
> > # cd /usr/bin
> > # PATH=.:$PATH whence -mavS zsh
> > zsh is ./zsh
> > zsh is /usr/bin/zsh
> >
> > Does this look the way you want?
>
> Better sure, the redundant line isn't there.
Is there anything else in the output that you don't like?
> >
> > How do I get "zsh is zsh" in the output? Are you perchance on an old
> > version of zsh? Which one?
> 2 /usr/bin 1 $ zsh --version
>
> zsh 5.8 (x86_64-debian-linux-gnu)
I get the same output with zsh 5.8 as with 5.9. It's the output I posted above.
There must be something else in your setup that is required to get the
line saying "zsh is zsh".
Roman.
next prev parent reply other threads:[~2022-10-31 14:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 13:30 Ray Andrews
2022-10-31 13:43 ` Roman Perepelitsa
2022-10-31 14:06 ` Ray Andrews
2022-10-31 14:10 ` Roman Perepelitsa [this message]
2022-10-31 14:32 ` Ray Andrews
2022-10-31 14:36 ` Roman Perepelitsa
2022-10-31 14:57 ` Ray Andrews
2022-10-31 21:18 ` Bart Schaefer
2022-10-31 22:26 ` Bart Schaefer
2022-10-31 22:59 ` Ray Andrews
2022-10-31 23:03 ` Bart Schaefer
2022-10-31 23:17 ` Ray Andrews
2022-10-31 23:21 ` Bart Schaefer
2022-10-31 23:14 ` Lawrence Velázquez
2022-10-31 23:21 ` Ray Andrews
2022-10-31 23:38 ` Bart Schaefer
2022-11-01 0:03 ` Ray Andrews
2022-11-01 0:31 ` Bart Schaefer
2022-11-01 0:55 ` Ray Andrews
2022-11-01 1:08 ` Bart Schaefer
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN=4vMr+Xr-ETN9BnF634YhXZR5Epd3soj_7Tf1Nu-4_ijJZqw@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
https://git.vuxu.org/mirror/zsh/
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).