Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 20:00:30 -0400
From:      User & Ian Patrick Thomas <ipthomas_77@yahoo.com>
To:        Lowell Gilbert <lowell@world.std.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Adding exec sh -E to login script
Message-ID:  <20010718200030.G51074@localhost>
In-Reply-To: <444rsaaxhu.fsf@lowellg.ne.mediaone.net>; from lowell@world.std.com on Wed, Jul 18, 2001 at 02:43:57PM -0400
References:  <NABBJFHHHCHMHGALIFEFOEDKHCAA.ewalters@nms2001.com> <444rsaaxhu.fsf@lowellg.ne.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
	set -E does the same thing.  

Ian

As it was put forth by Lowell Gilbert on Wed, Jul 18, 2001 at 02:43:57PM -0400...
> 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

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?20010718200030.G51074>