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

Re: PATCH: prompt fun



>>>>> "Adam" == Adam Spiers <adam@xxxxxxxxxxxxxxxxxxxxxxx> writes:

    Adam> However, there are obviously cons to the single package
    Adam> argument too, which is probably shown up at its most absurd
    Adam> when k3wl_d0oD ANSI PS1 strings end up inside the main
    Adam> source tree.  I'm not sure what the best answer is, but my
    Adam> instincts would say a compromise - include a few nice
    Adam> prompts catering for a wide range of tastes, and then leave
    Adam> the rest to the IRC kiddies (hmm, that's me I guess) to work
    Adam> on.  That was the approach I tried to take with this prompt
    Adam> patch.

        What if there were some well defined mechanism for packaging a 
(for lack of a better term) zsh add-on.  Something sort of similar to
the CPAN.pm module for perl (for those not familiar with perl, CPAN is 
the Comprehensive Perl Archive Network and CPAN.pm is a module that
will automagically download, compile, and install additional perl
modules).  This hypothetical program could be pointed at an
apropriately structured http/ftp site (part of the hypothetical
Comprehensive Zsh ARchive, or CZAR :) and told to grab and install J.
Random Hax0r's k-R4d shell prompts or the most up to date zftp module
source.

        Or maybe that's overkill. :)

        At the minimum, if there's going to be separately packaged
components something like the glib/gtk+/gnome x-config scripts would
be nice (again for those not familiar, these packages ship with a
shell script that is installed in $(installdir)/bin that can be run to 
get compile and link options suitable for linking against the library
in question).  After market zsh addins could use zsh-config to find
the location of the Functions directory, or headers for compiling
loadable modules against, or what not.

        Just some random thoughts.

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch@xxxxxxxxxxxx   |  Vincent, you should cease askin'          \ o.O'
678 443-6239(w)       |  scary questions." -- Jules                =(___)=
                      |                                               U



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