Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: Completion and global aliases



On Jun 9, 11:01am, Peter Stephenson wrote:
} Subject: Re: PATCH: Re: Completion and global aliases
}
} manual could provide a simple one-line suggestion, though, for anyone not
} wanting to run compinstall  --- possibly the manual could be altered to
} contain the real location of compinit, but that will require more remaking

I don't think remaking is a big issue, but I've always thought it was silly
to have manual pages attempt to reflect local install paths.  There's always
somebody who shuffles things around after the fact or tries to share manual
pages over NFS (or over the web!), rendering compile-time patching useless.

} (Autoloading everything in $fpath could conflict with Bart's `autoload -U'
} suggestion --- although I presume that first autoloading without -U, then
} with, will add the NOALIASES flag.)

Yes, that works.

} This complicates installation,
} however, and Oliver was suggesting he'd prefer the directory structure
} retained.  I haven't worked out a simple way of doing all this.

Just a random thought ... the installation process has just copied a zsh
binary into place, right?  So you can write a zsh function to install the
rest of the zsh functions, and feed it to the zsh that you just built ...

(Except that doesn't work when cross-compiling, sigh.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author