From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 01:19:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79DA1106566B for ; Thu, 18 Jun 2009 01:19:08 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0AF778FC08 for ; Thu, 18 Jun 2009 01:19:07 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm25 with SMTP id 25so709350fxm.43 for ; Wed, 17 Jun 2009 18:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Q/Khw9wzto5cvZfKkoqrjy3i+RKahOEnCdUaJ56G058=; b=V9XWc14XyQwbr/RbqMZDgYjIEZWLcASFCmXsX1Xs/WJvCg6zsLjxayA1iA8ySCh03I BZpkVenBWv2nBj9cW180aIb9dUERv3ZrZEqsPwMEoTzijAnwW/KhSfBhy4z/dIbs6IWz WcbgWZJ/sUAqQeTq0gVsNvxQKsq2OIJfi6a7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PnwBZs3OLqgtIedRinj+QBwDBddA7+pBKfDRSPzC5Elma+otuxChX3dWOGv7AWPYSS 8jw4YD0dMFQ+aiHXsze9WV9vDFzOD96A1MJD8QgYoe07Vf+a/IHG+ilgYASkHYLkMRnC RujOVWow08xFGreWDoZKGvH4MsqHgS4hAMpjo= MIME-Version: 1.0 Received: by 10.204.116.15 with SMTP id k15mr737347bkq.118.1245287946953; Wed, 17 Jun 2009 18:19:06 -0700 (PDT) In-Reply-To: <4A3994BC.1000600@ibctech.ca> References: <4A3994BC.1000600@ibctech.ca> Date: Wed, 17 Jun 2009 21:19:06 -0400 Message-ID: <4ad871310906171819h7b1ce0d8l489497df293c87c2@mail.gmail.com> From: Glen Barber To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Changing my login directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 01:19:08 -0000 Hi, Steve On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand 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