From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10485 invoked from network); 14 Apr 1997 14:53:07 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Apr 1997 14:53:07 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA29781; Mon, 14 Apr 1997 10:37:48 -0400 (EDT) Resent-Date: Mon, 14 Apr 1997 10:36:20 -0400 (EDT) Message-ID: <19970414103243.56053@retriever> Date: Mon, 14 Apr 1997 10:32:43 -0400 From: Louis-David Mitterrand To: zsh-users@math.gatech.edu Subject: strange behaviour with .zsh and su Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 Reply-To: mito@sprynet.com Resent-Message-ID: <"I6x7y1.0.AG7.Z3aKp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/800 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I recently switched to defining a ZSHDOTDIR in /etc/zprofile to unclutter my home directory. It works fine when I am logged as a normal 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... When I 'su -l' the .zsh/.zshrc is sourced but I'd rather it worked with plain 'su' so that I don't change directories. Am I doing something wrong? config: Linux, zsh_3.0.3 export ZSHDOTDIR=.zsh TIA -- Louis-David Mitterrand http://www.aparima.com/F1/ mito@aparima.com