Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 1999 12:14:34 -0500
From:      pete collins <pcollins@ocsny.com>
To:        questions@FreeBSD.ORG
Subject:   setting bash prompt
Message-ID:  <36A60EFA.641F2136@ocsny.com>
References:  <Pine.BSF.3.96.990120135600.28221A-100000@gate1.ilhadamagia.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
i added my dot profile file as below and it works great!
date and everything which i discovered purely by accident!

PS1="\u@\h \d $ "
SHELL=/usr/local/bin/bash export SHELL

however where are these commands from \u and \h
i know what they mean but not why or where??

how do i add (pwd) to the prompt also so i know which directory i'm currently at?

and how do i get this prompt to appear in an xterm??

thanks

pete


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A60EFA.641F2136>