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

Re: Out of the box user experience



Bruce Stephens writes:
 > Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> writes:
 > 
 > What about Functions, Misc (and StartupFiles, for that matter)?

Please let's NOT encourage admins to installed canned /etc/z* files.  They
very seldom accomplish what the admin thought they would, and I don't want
to give anyone the impression that StartupFiles contains stuff that we
believe should appear in /etc/z* -- because it doesn't.

 > Specifically, what does RedHat do when they build a binary package of
 > zsh?  (I really ought to look, I suppose!)
 > 
 > I'm guessing they regard the example functions and things as
 > documentation, and install it into /usr/doc/zsh-$ZSH_VERSION.

Yes; `rpm -ql zsh` says:

/bin/zsh
/etc/zlogin
/etc/zlogout
/etc/zprofile
/etc/zshenv
/etc/zshrc
/usr/doc/zsh-3.0.5
/usr/doc/zsh-3.0.5/BUGS
/usr/doc/zsh-3.0.5/CONTRIBUTORS
/usr/doc/zsh-3.0.5/ChangeLog
/usr/doc/zsh-3.0.5/Etc
/usr/doc/zsh-3.0.5/Etc/BUGS
/usr/doc/zsh-3.0.5/Etc/CONTRIBUTORS
/usr/doc/zsh-3.0.5/Etc/FAQ
/usr/doc/zsh-3.0.5/Etc/FEATURES
/usr/doc/zsh-3.0.5/Etc/MACHINES
/usr/doc/zsh-3.0.5/Etc/Makefile
/usr/doc/zsh-3.0.5/Etc/Makefile.in
/usr/doc/zsh-3.0.5/Etc/NEWS
/usr/doc/zsh-3.0.5/FAQ
/usr/doc/zsh-3.0.5/FEATURES
/usr/doc/zsh-3.0.5/Functions
/usr/doc/zsh-3.0.5/Functions/Makefile
/usr/doc/zsh-3.0.5/Functions/Makefile.in
/usr/doc/zsh-3.0.5/Functions/acx
/usr/doc/zsh-3.0.5/Functions/cat
/usr/doc/zsh-3.0.5/Functions/cdmatch
/usr/doc/zsh-3.0.5/Functions/cdmatch2
/usr/doc/zsh-3.0.5/Functions/checkmail
/usr/doc/zsh-3.0.5/Functions/cx
/usr/doc/zsh-3.0.5/Functions/harden
/usr/doc/zsh-3.0.5/Functions/mere
/usr/doc/zsh-3.0.5/Functions/multicomp
/usr/doc/zsh-3.0.5/Functions/proto
/usr/doc/zsh-3.0.5/Functions/pushd
/usr/doc/zsh-3.0.5/Functions/randline
/usr/doc/zsh-3.0.5/Functions/run-help
/usr/doc/zsh-3.0.5/Functions/yp
/usr/doc/zsh-3.0.5/Functions/yu
/usr/doc/zsh-3.0.5/Functions/zed
/usr/doc/zsh-3.0.5/META-FAQ
/usr/doc/zsh-3.0.5/NEWS
/usr/doc/zsh-3.0.5/README
/usr/doc/zsh-3.0.5/Util
/usr/doc/zsh-3.0.5/Util/Makefile
/usr/doc/zsh-3.0.5/Util/Makefile.in
/usr/doc/zsh-3.0.5/Util/helpfiles
/usr/doc/zsh-3.0.5/Util/reporter
/usr/doc/zsh-3.0.5/Util/zsh-development-guide
/usr/info/zsh.info-1.gz
/usr/info/zsh.info-2.gz
/usr/info/zsh.info-3.gz
/usr/info/zsh.info-4.gz
/usr/info/zsh.info-5.gz
/usr/info/zsh.info-6.gz
/usr/info/zsh.info-7.gz
/usr/info/zsh.info.gz
/usr/man/man1/zsh.1
/usr/man/man1/zshall.1
/usr/man/man1/zshbuiltins.1
/usr/man/man1/zshcompctl.1
/usr/man/man1/zshexpn.1
/usr/man/man1/zshmisc.1
/usr/man/man1/zshoptions.1
/usr/man/man1/zshparam.1
/usr/man/man1/zshzle.1

However, the /etc/z* files are NOT the ones from StartupFiles.

/etc/zshenv sets up X11HOME and $path; /etc/zshrc sets the umask and a few
aliases (like mv='nocorrect mv'), exports USER, LOGIN, HOSTNAME, and MAIL,
and runs bindkey -e; /etc/zlogin and /etc/zprofile are entirely comments,
and /etc/zlogout contains only "clear".

This is all zsh-3.0.5, of course; there's no "official" packaging of any
3.1 version.  There's a contrib of 3.1.2-zefram4, but I've never installed
it anywhere.



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