Date: 18 Jul 2001 14:43:57 -0400 From: Lowell Gilbert <lowell@world.std.com> To: freebsd-questions@freebsd.org, ewalters@nms2001.com Subject: Re: Adding exec sh -E to login script Message-ID: <444rsaaxhu.fsf@lowellg.ne.mediaone.net> In-Reply-To: ewalters@nms2001.com's message of "18 Jul 2001 20:10:51 %2B0200" References: <NABBJFHHHCHMHGALIFEFOEDKHCAA.ewalters@nms2001.com>
next in thread | previous in thread | raw e-mail | index | archive | help
ewalters@nms2001.com (Eric Walters) writes: > I am trying to figure out how I can add the "exec sh -E" to my login script > so that when I login I can up and down arrow through my command history? That doesn't look like a good way to start a shell. A quick look at the 'Invocation' section of the sh(1) man page leads me to the following suggestion: Add: ENV=$HOME/.shinit; export ENV to your ~/.profile file, and then create a ~/.shinit file, which contains the line: set -o emacs I did a quick test, and it works. 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?444rsaaxhu.fsf>