Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strange behaviour with .zsh and su
- X-seq: zsh-users 808
- From: Stefan Monnier <monnier+/news/lists/zsh/users@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: strange behaviour with .zsh and su
- Date: 14 Apr 1997 13:03:22 -0400
- References: <19970414103243.56053@retriever>
- Sender: monnier@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Louis-David Mitterrand <mito@xxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author