Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: whence output varies with dot vs. realpath in $PATH
- X-seq: zsh-users 28290
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: whence output varies with dot vs. realpath in $PATH
- Date: Mon, 31 Oct 2022 07:06:05 -0700
- Archived-at: <https://zsh.org/users/28290>
- In-reply-to: <CAN=4vMpmvWGh4ZopztkTqrWr+bY7niifxHd32mhstKzxr7M89Q@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <8cfe03ee-cddc-f70b-0c62-b506e49dfe58@eastlink.ca> <CAN=4vMpmvWGh4ZopztkTqrWr+bY7niifxHd32mhstKzxr7M89Q@mail.gmail.com>
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.
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)
... maybe time for an upgrade? Debian is always behind the times.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author