From owner-freebsd-questions Thu Jan 20 13:24: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 69CF414DC4 for ; Thu, 20 Jan 2000 13:23:54 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.9.3/8.9.3) id WAA04518; Thu, 20 Jan 2000 22:23:52 +0100 (CET) (envelope-from olli) Date: Thu, 20 Jan 2000 22:23:52 +0100 (CET) Message-Id: <200001202123.WAA04518@dorifer.heim3.tu-clausthal.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: aliases and zsh cont'd X-Newsgroups: list.freebsd-questions In-Reply-To: <86757j$1da9$1@atlantis.rz.tu-clausthal.de> User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (FreeBSD/3.4-19991219-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathon McKitrick wrote in list.freebsd-questions: > Well, i've narrowed it down with echo statements in all my config > files. Here is the really bizarre part: when i su to root, i have to > use su -l, and it executes .profile, NOT .zprofile, but .profile > (which is for bash, right?) .profile is sh (So I guess you're using "su -l toor" or something, because root has a csh as login shell, no sh). > I read the man page, and it says NOTHING > about .profile being executed, only .zprofile. Correct, zsh reads .zprofile by default (among others). > Why is this file being > executed, and why does -m clobber my alias settings? All the other > env variables stay the same with the im option. What version of the zsh is that? The latest is 3.0.7. It works for me (using "su -m"). Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message