Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 1998 23:52:27 -0600 (CST)
From:      Laszlo Vagner <kf7nn@mutsgo.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   prompt
Message-ID:  <199801210552.XAA03492@mutsgo.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
I have been trying to figure out how to set my prompt for weeks
but i just dont know the syntax.

if i use the shell sh and i want my prompt to be something like

hostname currentpath >

IE:

dopey /usr/local/etc >

what do i edit and what do i put in there.???

tried various stuff in .login, .cshrc and .profile such as
"`hostname` %l > "

but it never changes from the $ prompt.

looking at the handbook nothing seems to work.

help anyone?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801210552.XAA03492>