Date: Thu, 2 Dec 1999 19:12:21 +0000 (GMT) From: Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org> To: Phil Homewood <philh@mincom.com> Cc: Alfred Perlstein <bright@wintelcom.net>, freebsd-questions@FreeBSD.ORG Subject: Re: root shell/toor shell Message-ID: <Pine.BSF.4.02A.9912021910530.94523-100000@dogma.freebsd-uk.eu.org> In-Reply-To: <19991030115511.A10041@mincom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Alfred Perlstein wrote: >> In re changing root's/toor's shell, why not just put som,e code in >> your .profile/.cshrc that conditionally automagically exec's zsh/bash >> if it's available? :) >> >> if [ -x /usr/local/bin/zsh ] ; then >> exec /usr/local/bin/zsh ; >> fi I would like to use this for my 'toor' user, but how do i preserve all my aliases and shell variables? I see lots of stuff going on in .cshrc and i put some extra stuff in .profile, but when i run zsh or bash after my prompt comes up, all that info is lost in the new shell. Is there a way to preserve it? -jm ------------------ Bayliss: "And that's another thing... you never say 'please' and 'thank you.'" Pendleton: "Please stop being an idiot. Thank you." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9912021910530.94523-100000>