From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 21:19:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 714E316A4CE for ; Tue, 13 Apr 2004 21:19:42 -0700 (PDT) Received: from mx1.pc-gamereview.com (mx1.pc-gamereview.com [216.99.211.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2199D43D54 for ; Tue, 13 Apr 2004 21:19:42 -0700 (PDT) (envelope-from fudo@spamblocked.com) Received: from Spooler by mx1.pc-gamereview.com (Mercury/32 v4.01) ID MO000005; 13 Apr 2004 21:19:42 -0700 Received: from spooler by mx1.pc-gamereview.com (Mercury/32 v4.01); 13 Apr 2004 21:18:54 -0700 Received: from spamblocked.com (209.168.20.77) by mx1.pc-gamereview.com NO UCE - NO UBE (Mercury/32 v4.01) with ESMTP ID MG000004; 13 Apr 2004 21:18:31 -0700 Date: Tue, 13 Apr 2004 21:18:43 -0700 Mime-Version: 1.0 (Apple Message framework v553) Content-Type: text/plain; charset=US-ASCII; format=flowed From: fudo To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.553) Subject: problems with .bashrc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 04:19:42 -0000 Tue Apr 13 19:24:27 PDT 2004, Parv at pair.com wrote: >> There are several uncommented alias lines in the .shrc file, but >> none of them work. From what I've read, bash should read .profile >> and .shrc, but just > There is no mention of '.shrc' in bash(1) (2.05b.007 version here). I noticed that. "From what I've read" refers to what's in FreeBSD Unleashed, 2nd ed. I wonder if the authors just got it wrong; their example for changing PS1 to show the working directory at the prompt is wrong. Anyone familiar with the book care to comment? > So you tried putting debugging statements in the four files so far > mentioned, and got the output from them but aliasing consistently > failed? Ah, no. I've just been editing the files, and then logging out and back in to see if things work. > 0. Create .bash{_profile,rc} properly. Read bash(1); search the > Internet, comp.unix.{shell,misc,questions} newsgroups in > particular, for examples, solutions/hints. Kinda looks like I've been barking up the wrong tree, given your examples. More research in order, thanks for the help (Viktor too). fudo@spamblocked.com