Date: Wed, 17 Jun 2009 21:19:06 -0400 From: Glen Barber <glen.j.barber@gmail.com> To: Steve Bertrand <steve@ibctech.ca> Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login directory Message-ID: <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> In-Reply-To: <4A3994BC.1000600@ibctech.ca> References: <4A3994BC.1000600@ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Steve On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand<steve@ibctech.ca> wrote: > Hi everyone, > > I've got a couple of jails now that I use exclusively for Perl development. > > As soon as I log into the box via SSH, my first command is _always_ "cd > devel/something". > > I'd like to make it so that '~' remains /home/steve, but when I log in, > I would prefer to be dropped immediately into /home/steve/devel. > > csh is (always) my shell, and I'm on 7.2. > > Instead of writing a login script, I'm wondering if there's a more > native approach to get what I'm after. > You can always add: cd $HOME/devel/something to $HOME/.login -- Glen Barber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906171819h7b1ce0d8l489497df293c87c2>