From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 08:23:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D772916A4CE for ; Mon, 2 Feb 2004 08:23:48 -0800 (PST) Received: from postino-1.etat.lu (postino-1.etat.lu [194.154.205.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B3143D6A for ; Mon, 2 Feb 2004 08:23:04 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by postino-1.etat.lu (Postfix) with ESMTP id 4502B40FD1D for ; Mon, 2 Feb 2004 17:23:00 +0100 (CET) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by localhost (CIE ESMTP Dispatch 2) with ESMTP id 327B2D6 for ; Mon, 2 Feb 2004 17:23:00 +0100 (CET) Received: from hermes-2 (hermes-2.cie.etat.lu [148.110.136.57]) 21D97D5 for ; Mon, 2 Feb 2004 17:23:00 +0100 (CET) Received: from conversion-daemon.mail.etat.lu by mail.etat.lu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HSG00901SJ02J@mail.etat.lu> for freebsd-questions@freebsd.org; Mon, 02 Feb 2004 17:23:00 +0100 (MET) Received: from lucy ([148.110.43.189])18 2003)) freebsd-questions@freebsd.org; Mon, 02 Feb 2004 17:13:14 +0100 (MET) Date: Mon, 02 Feb 2004 17:13:13 +0100 From: Didier WIROTH In-reply-to: <401E673B.6030201@lumeta.com> To: freebsd-questions@freebsd.org Message-id: <0HSG00DROT22DT@mail.etat.lu> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcPpn+SMYlJ0IUeVRTSs+Tc4C8UPhgABcrDg Subject: RE: customize set prompt question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 16:23:49 -0000 Many thanks to all of you for your help!!!! For those who want to know: Customizing the prompt for root (with a red prompt) is: set prompt="%{\e[1;31m%}@%m:%~# %{\e[m%}" As you might notice for csh you have to replace the \[ \] with %{ %} > > > > $ export PS1="\[\e[1;31m\]@%m:%~# \[\e[m\]"