Date: Tue, 13 Apr 2004 21:18:43 -0700 From: fudo <fudo@spamblocked.com> To: freebsd-questions@freebsd.org Subject: problems with .bashrc Message-ID: <D0BA2492-8DCA-11D8-A14E-000502A8DC42@spamblocked.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0BA2492-8DCA-11D8-A14E-000502A8DC42>