Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: adding a toplevel zsh.spec.in file
- X-seq: zsh-workers 12304
- From: Zefram <zefram@xxxxxxxx>
- To: Trond Eivind=?iso-8859-1?q?_Glomsr=F8d?= <teg@xxxxxxxxxx>
- Subject: Re: PATCH: Re: adding a toplevel zsh.spec.in file
- Date: Tue, 18 Jul 2000 20:57:13 +0100 (BST)
- Cc: Zefram <zefram@xxxxxxxx>, Adam Spiers <adam@xxxxxxxxxx>, zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- In-reply-to: <xuyu2dnl2n1.fsf@xxxxxxxxxxxxxxxxxxxxxx> from Trond Eivind=?iso-8859-1?q?_Glomsr=F8d?= at "Jul 18, 2000 02:22:26 pm"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Trond Eivind=?iso-8859-1?q?_Glomsr=F8d?= wrote:
>Of course, and you're free to change it in your own files - but that
>doesn't mean systems should be set up with sensible values (like
>specifying NNTPSERVER, MAIL, QTDIR etc. etc).
Setting those by default when the user logs in is fine. These do
belong in /etc/profile. It's unfortunate that zsh processes .zshenv
before /etc/zprofile, as it would be nice to be able to set those things
similarly for zsh while allowing the user to override them in .zshenv.
>If it makes sense, do it - it's just another default, a user can
>override it. The default BASH prompt is "bash-2.04#", and changing
>this to something more sensible is good (IMHO, of course - and if you
>don't like it, pick your own).
I've already described the problem with setting PS1 by default -- PS1
gets inherited by other shells.
>It's not broken, it's just not designed to handle zsh - it's designed
>to handle bash only. Fixing this (setting another default prompt for
>zsh) should be simple if required.
Ah, I actually can't find the really nasty bits of default setup (such
as enabling colour output from ls) in the recent versions, so this
seems to have been fixed (assuming that I'm remembering correctly in
that being Red Hat). There are a couple of things where I think it's
still overstepping its territory, particularly setting HISTSIZE and
INPUTRC, which are matters of interactive shell configuration and so
should be left firmly up to the user. (The prompt setting seems to be
in /etc/bashrc now, but I don't see when bash executes that.)
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author