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

Re: Mandrake 8.0 - compinit in /etc/zshrc



Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> writes:

> Add a .zshrc file to the /etc/skel dir that includes this compinit code.
> Then, add post-install code to the zsh rpm that gives a copy of this rc
> file to all existing users that don't already have the file (for a
> certain restricted definition of "all existing users"). 

Very bad idea. Very bad.

1) You can only do it once, and never fix it
2) Doing it this way makes it harder to run on multiple systems with
   multiple version of the program
3) Think of the scenario where one workstation with lots of home
   directories available (automounted when needed). Upgrading this one
   workstation would then try to "upgrade" all of the users,
   regardless of whether or not they use this machine at all

If you want to distribute configuration files this way, it should be
an active act of the sysadmin.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.



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