zsh-users
 help / color / mirror / code / Atom feed
* Zsh startup files
@ 1996-10-19 23:04 Nate Johnston
  1996-10-20 11:09 ` Zefram
  0 siblings, 1 reply; 29+ messages in thread
From: Nate Johnston @ 1996-10-19 23:04 UTC (permalink / raw)
  To: ZSH Users

Hi there.  I'm something of a beginning user, so I am not entirely sure
if this is the correct forum for this question.  But I have two.

* my .zshenv contains things that will be used in all of my scripts and
shells, and the rest of the startup files seem only to be used for shells.
Is there any real difference in the function of .zprofile, .zshrc, etc?  

* How would I program a prompting mechanism, i.e. put up a prompt and wait
for input that would be put into an env var in a script?  The "read"
documentation is unclear and I can't figure it out.

Thanks a bunch for helping a (relative) newbie!




                                            --N.


^ permalink raw reply	[flat|nested] 29+ messages in thread
* zsh startup files
@ 1999-03-24 22:48 Stefan Monnier
  1999-03-24 23:15 ` Sweth Chandramouli
  1999-03-25  9:03 ` Peter Stephenson
  0 siblings, 2 replies; 29+ messages in thread
From: Stefan Monnier @ 1999-03-24 22:48 UTC (permalink / raw)
  To: zsh-users


Am I the only one that keeps getting annoyed by the sequence in which startup
files are read ?  It seems to be especially designed to make it easy for the
sysadmin to come up with a setup that is painful to override by users.
As a user and a syadmin who cares about users who like to override the
sysadmin's decisions, I think it should be changed.  Instead of something like

    /etc/zshenv ~/.zshenv /etc/zprofile ~/.zprofile /etc/zshrc ~/.zshrc ...

I suggest

    /etc/zshenv /etc/zprofile /etc/zshrc /etc/zlogin ~/.zshenv ~/.zprofile ...

This way the sysadmin can put in /etc/zprofile commands that should only be
executed at login time without having to worry about interference with the
user's ~/.zshenv settings.
And this way, when the sysadmin (or RedHat package maintainers) decide to put
bogus PATH and umask settings in /etc/zshrc it won't override my ~/.zprofile
choices.


	Stefan "pissed"


^ permalink raw reply	[flat|nested] 29+ messages in thread
* zsh startup files
@ 2006-03-14 17:38 zzapper
  2006-03-14 19:50 ` Wayne Davison
  0 siblings, 1 reply; 29+ messages in thread
From: zzapper @ 2006-03-14 17:38 UTC (permalink / raw)
  To: zsh-users

Hi,
At the risk of exposing my ignorance, I think there's a concept of multi-
level startup files of type .z* such that ideally you don't have rerun all 
your setup every time you run say a small 3 line script.

I've got everything in my ~/.zshenv can I do better?


-- 
http://successtheory.com/ 100 FREE Success and Self-Improvement Tips


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2006-03-16 19:30 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-19 23:04 Zsh startup files Nate Johnston
1996-10-20 11:09 ` Zefram
1999-03-24 22:48 zsh " Stefan Monnier
1999-03-24 23:15 ` Sweth Chandramouli
1999-03-25  0:47   ` Stefan Monnier
1999-03-25  5:53     ` Sweth Chandramouli
1999-03-25 11:17       ` Doug Morris
1999-03-25  2:20   ` Jason Price
1999-03-25  9:03 ` Peter Stephenson
     [not found]   ` <9903251002.AA18225@ibmth.df.unipi.it>
1999-03-25 10:55     ` Wolfgang Hukriede
1999-03-25 11:22       ` Peter Stephenson
1999-03-25 12:36         ` Stefan Monnier
1999-03-25 14:00           ` Peter Stephenson
1999-03-25 19:37             ` Stefan Monnier
1999-03-28  1:04               ` Bart Schaefer
1999-03-28 22:14                 ` Stefan Monnier
1999-03-29  1:57                   ` Bart Schaefer
1999-03-29  4:14                     ` Sweth Chandramouli
1999-03-29 14:15                     ` Stefan Monnier
1999-03-29 14:29                       ` Andrej Borsenkow
1999-03-31  7:14                         ` Bart Schaefer
1999-03-31  7:49                           ` Bart Schaefer
1999-04-02 13:12                           ` Stefan Monnier
1999-04-02 17:13                             ` Bart Schaefer
2006-03-14 17:38 zzapper
2006-03-14 19:50 ` Wayne Davison
2006-03-15  2:43   ` Bart Schaefer
2006-03-15 18:22     ` Phil Pennock
2006-03-16 19:29     ` Dominic Mitchell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).