From owner-freebsd-questions Mon Oct 18 13:38: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp13.bellglobal.com (smtp13.bellglobal.com [204.101.251.52]) by hub.freebsd.org (Postfix) with ESMTP id 67AEA14A2C for ; Mon, 18 Oct 1999 13:37:50 -0700 (PDT) (envelope-from a.genkin@utoronto.ca) Received: from main.wgaf.net (HSE-TOR-ppp22851.sympatico.ca [209.226.71.141]) by smtp13.bellglobal.com (8.8.5/8.8.5) with ESMTP id QAA12788 for ; Mon, 18 Oct 1999 16:39:51 -0400 (EDT) Received: from antipode by main.wgaf.net with local (Exim 2.05 #1 (Debian)) id 11dKfn-0005Yf-00; Mon, 18 Oct 1999 17:50:31 -0400 To: freebsd-questions@freebsd.org Subject: Re: Bash prompt (/usr/home/username instead of ~/) References: Organization: Wgaf From: Arcady Genkin Date: 18 Oct 1999 17:50:31 -0400 In-Reply-To: patl@phoenix.volant.org's message of "Mon, 18 Oct 1999 10:53:09 -0700 (PDT)" Message-ID: <87ln905oew.fsf@main.wgaf.net> Lines: 18 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.1 (Biscayne) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG patl@phoenix.volant.org writes: > > What happens if you put a 'cd' command right after the prompt is set? > > Shouldn't that be 'cd .' just in case you aren't in your home directory? IMHO, Quite on the contrary. "cd ." would mean change into the current directory, as opposed to "cd", which means change into home directory by default... In any case, I don't know what the current directory is when starting bash. [leaves to check] Yep, putting "cd ." results in bash opening up current directory. -- Arcady Genkin http://wgaf.dyndns.org "'What good is my pity? Is not the pity the cross upon which he who loves man is nailed?..'" (Zarathustra - F. Nietzsche) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message