zsh-users
 help / color / mirror / code / Atom feed
* strange behaviour with .zsh and su
@ 1997-04-14 14:32 Louis-David Mitterrand
  1997-04-14 15:06 ` Zefram
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Louis-David Mitterrand @ 1997-04-14 14:32 UTC (permalink / raw)
  To: zsh-users

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


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

end of thread, other threads:[~1997-04-14 20:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-14 14:32 strange behaviour with .zsh and su Louis-David Mitterrand
1997-04-14 15:06 ` Zefram
1997-04-14 15:47 ` Timothy Luoma
1997-04-14 15:48   ` Louis-David Mitterrand
1997-04-14 16:01     ` Timothy Luoma
1997-04-14 16:14       ` Louis-David Mitterrand
     [not found]         ` <mito@aparima.com>
1997-04-14 16:54           ` Bart Schaefer
1997-04-14 18:20   ` Stefan Monnier
1997-04-14 18:32     ` Richard Coleman
1997-04-14 20:27       ` Stefan Monnier
1997-04-14 18:42     ` Tom Howland
1997-04-14 16:02 ` gwing
1997-04-14 17:03 ` Stefan Monnier

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).