> I'll take 10 floggings for not knowing this... but...
> 
> Where do I define that?

posix shell and ksh have a nice feature called autoloading functions.
You define an FPATH variable pointing to a directory and any files
in that directory will be loaded as functions on demand.

bash doesn't seem to have that feature so I guess you'll have to
put it in your .bashrc or .bash_profile (depending on where and
when you want to use the function).

(In other words: the same place you define aliases).

-- 
Ian



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to