From owner-freebsd-questions Fri Jul 5 11:27:05 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA20109 for questions-outgoing; Fri, 5 Jul 1996 11:27:05 -0700 (PDT) Received: from badboy.wisetech.com (badboy.wisetech.com [205.231.232.76]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA20094 for ; Fri, 5 Jul 1996 11:27:02 -0700 (PDT) Received: from badboy.wisetech.com (localhost [127.0.0.1]) by badboy.wisetech.com (8.6.12/8.6.9) with SMTP id OAA05938; Fri, 5 Jul 1996 14:13:21 -0400 Message-ID: <31DD5B40.167EB0E7@wisetech.com> Date: Fri, 05 Jul 1996 14:13:20 -0400 From: Rick Weldon Organization: Weldon Internet SEcurity Technologies X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: Ryan Cutter CC: questions@freebsd.org Subject: Re: Changing prompt References: <1.5.4.32.19960705154424.008cda38@ctgusa.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ryan Cutter wrote: > > Hi, > > How can I change my prompt in FreeBSD to reflect the current > directory I'm in? > > Thanks in advance, > > Ryan Cutter > rcutter@ctgusa.com I use this for bash: export PS1="\u@\h \w \n(\!)$ " It looks like this: rick@badboy /usr/local/bin (616)$ _ Rick