From owner-freebsd-current@FreeBSD.ORG Fri Apr 29 02:07:19 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE2F616A4CE for ; Fri, 29 Apr 2005 02:07:19 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86F4F43D48 for ; Fri, 29 Apr 2005 02:07:19 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 2A71912123 for ; Thu, 28 Apr 2005 22:02:39 -0400 (EDT) Message-ID: <427196C0.5040506@chuckr.org> Date: Fri, 29 Apr 2005 02:06:56 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 02:07:19 -0000 The first thing I do, after I've installed a new system (just before I copy over the ssh data) is to copy my .cshrc to my home dir. What's so important? I really like the two statements, which I show below, which give me my prompt: set prompt="%m:%{^[[34m%}`id -nu`%{^[[0m%}:%~:%{^[[31m#%h^[[0m%}%#" alias cd 'cd \!*;set prompt="%m%{^[[32m%}:`id -nu`%{^[[0m%}:%~:%{^[[31m#%h^[[0m%}%#"' My mailer is adding carriage returns to the cd line, maybe even to the prompt line, live with it. Any chance that something so basic as this, that improves things so awfully much, could be added to the .tcshrc? If the idea is liked well enough, I will edit it enough so that the special use of prompt strings that are specific to tcsh is made conditional.