zsh-users
 help / color / mirror / code / Atom feed
* `whence -v X` shows file for functions, but not alias; workaround?
@ 2017-01-12 17:24 Timothee Cour
  2017-01-13  4:21 ` Eric Cook
  0 siblings, 1 reply; 4+ messages in thread
From: Timothee Cour @ 2017-01-12 17:24 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

* 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-13 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 17:24 `whence -v X` shows file for functions, but not alias; workaround? Timothee Cour
2017-01-13  4:21 ` Eric Cook
2017-01-13  7:04   ` Bart Schaefer
2017-01-13 18:18     ` Ray Andrews

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).