Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
whence (was Re: local unfunction)
- X-seq: zsh-users 23295
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: whence (was Re: local unfunction)
- Date: Sat, 31 Mar 2018 08:25:38 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=1qtYCjPEZltHG47ZmLzJTG9EA+jjEwfifCWU11SWd1M=; b=BFtO46Rx3JiOpq0CW7hWnsjnuyUSzEC3TiVKmB82pcBYt8mMCeFbwgPqJSTNKZevxw oAMZ25Hl/cVexhRYKCCN+McOjFEnJpa3Tes/LImczD2dMEsTQMuQrgfGo2hV1Eenn82X SMcVTAeTR7F2PRA7irgWsq8Ek2dN8mRRtNK2uk9PzNbNVrAhkrgEV4EFfPKxsSew/oY6 JPAlpLPPOgF1l2F7LiE9jsS4X4rKJOBA/sDz/7QPfinesDtfRh9tQEnH+cLGVYfHBc3N zH5gLXLVsErUt9XHSbjzGa6YOFl+IFJvLznXSOef2tIY16Au15+hAr1dq78UMGPyyWia Hn2A==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
On Sat, Mar 31, 2018 at 7:58 AM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> On 30/03/18 10:23 PM, Bart Schaefer wrote:
>>
>> Try adding -w to get whence to tell you which hash table it's reading
>> from.
>
> $ which -mwa zsh
> zsh: command
> zsh: command
> zsh: command
>
> ... I had looked at that but the output doesn't seem to say anything useful.
Firstly, "which" isn't the same as "whence" although it should become
equivalent if -w is present.
However, that's not the same thing that produced unexpected results
before; you've added -a and removed the wildcard from "zsh*". I meant
to retry all three, but in particular this one:
% whence -wm "zsh*"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author