zsh-users
 help / color / mirror / code / Atom feed
* A conditional test to see whether a function is loaded?
@ 2007-06-09 12:31 William Scott
  2007-06-09 12:45 ` Frank Terbeck
  0 siblings, 1 reply; 8+ messages in thread
From: William Scott @ 2007-06-09 12:31 UTC (permalink / raw)
  To: zsh-users

Hi everyone:

I want to write a shell script that (among other things) tests to see  
if a function foo is loaded.

Is there something analogous to  [[ -x $(which foo) ]] that would  
test specifically for a loaded function, or an autoloadable function,  
rather than an executable file?

Thanks.

Bill



William G. Scott

contact info:  http://chemistry.ucsc.edu/~wgscott





^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <frioux@gmail.com>]

end of thread, other threads:[~2007-06-10  1:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-09 12:31 A conditional test to see whether a function is loaded? William Scott
2007-06-09 12:45 ` Frank Terbeck
2007-06-09 14:29   ` William Scott
2007-06-09 15:16     ` fREW
2007-06-09 15:23       ` Frank Terbeck
2007-06-09 19:44       ` Peter Stephenson
     [not found] <frioux@gmail.com>
2007-06-01 22:10 ` Time Modifiers fREW
2007-06-02 16:37   ` Peter Stephenson

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