From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14434 invoked from network); 14 Apr 1997 17:13:09 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Apr 1997 17:13:09 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA05928; Mon, 14 Apr 1997 13:02:18 -0400 (EDT) Resent-Date: Mon, 14 Apr 1997 13:00:17 -0400 (EDT) To: zsh-users@math.gatech.edu Sender: monnier@TEQUILA.SYSTEMSZ.CS.YALE.EDU From: Stefan Monnier Newsgroups: lists.zsh.users Subject: Re: strange behaviour with .zsh and su References: <19970414103243.56053@retriever> Date: 14 Apr 1997 13:03:22 -0400 Message-ID: <5liv1p5yg5.fsf@tequila.systemsz.cs.yale.edu> X-Newsreader: Gnus v5.3/Emacs 19.34 Path: tequila.systemsz.cs.yale.edu NNTP-Posting-Host: tequila.systemsz.cs.yale.edu Resent-Message-ID: <"YK4dK3.0.aP1.WAcKp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/808 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Louis-David Mitterrand writes: > user but now when I 'su' to root from that account root's .zshrc isn't > sourced anymore even though I put root's .zshrc into its own ZDOTDIR... "su" generally doesn't start the shell as a login shell, so your /etc/zprofile is not sourced. You probably want to use "su -" instead. Stefan