Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 1998 12:26:06 +0700 (NSS)
From:      "Rashid N. Achilov" <shelton@sentry.granch.nsk.su>
To:        Matthew & Lori Taylor <connecte@sprynet.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Changing the prompt_name
Message-ID:  <Pine.BSF.3.96.980415122108.833B-100000@sentry.granch.nsk.su>
In-Reply-To: <3533DF1D.FCE1CA95@sprynet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Apr 1998, Matthew & Lori Taylor wrote:

> How would I change the prompt_name in the OS?  Currently it's still
> <myname>.  I am a NOVICE UNIX user, so if this question seems dumb,

Try next: (in your .cshrc if you use csh or somewhere if you use another
shell)

if ($?prompt) then
	# An interactive shell -- set some stuff up
	set mch = `hostname -s`
	set prompt = "${mch:q}:[$USER] \!>"
endif

	Best Regards,
   	Rashid N. Achilov      	  E-Mail: shelton@sentry.granch.nsk.su
      Granch Ltd. lead engineer   FidoNet: 2:5000/92.1


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980415122108.833B-100000>