Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
`whence -v X` shows file for functions, but not alias; workaround?
- X-seq: zsh-users 22350
- From: Timothee Cour <timothee.cour2@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: `whence -v X` shows file for functions, but not alias; workaround?
- Date: Thu, 12 Jan 2017 09:24:32 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dB7TgCMqTuJUt20CEqQ3L6IM+qF2XNGgxjJYQEhCF/A=; b=XAg0v1+Rr5dge5XoXbPdNq6a9B4I1FRDZMcBLxJkpCe6TGF4DR4VqEpnrNnhPPZNcQ 6/aS3CrQ9Mbzec+GzsQzOoA3JEoM12yN4ZosatJVD5tQwuw7Kbb5fhuDG2IBTon6FDbA 29jFkAZNPUBA4tXQxzLlsw6cAEYI4Ki6askmqkuTiz4S6h96WnG8MUCNny1eRs05T2ES IRhDGykqbCy3hwJKHGYQ97vOUgI0fKWdYyIncTPKmi4PLnlealtBxaDHbc2m2TU6AZ+q r9CwMWBSEPaDHJ8kBc/JJaL1d2sftNDOb86XqYVNf9wGlTI2vO/GYxXnmmV00XgCu6Ld Wa3g==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
* how do i search for where an alias is defined?
`whence -v my_function`: works
my_function is a shell function from /home/timothee/.zshrc
`whence -v my_alias`: doesn't do that:
my_alias is an alias for ...
Could that be implemented? What's a workaround? (besides grep of course)
* why not also include line info?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author