Editor's note: in the following instructions, note that the files .bashrc and .bash_profile may already exist. If they do, just add the lines indicated to the existing files in an editor. To invoke filenames that start with "." you can use, for example, pico ".bashrc", so that the "." is taken literally.
Return-Path: axl1613@sru.edu From: "Alan Litzel" axl1613@sru.edu To: "David Dailey" david.dailey@sru.edu Subject: setting marble prompt Date: Fri, 1 Sep 2000 18:37:30 -0400
Create a file called .bash_profile and place the following code in it:
if [ -f ~/.bashrc ]; then . ~/.bashrc fi
Then create a file called .bashrc and place:
PS1="[\W]\\$ "
Both of these files go in your home directory. This will show your current working directory next to the prompt.