Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 1997 08:50:08 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        chat@FreeBSD.ORG (FreeBSD Chat)
Subject:   Re: OS/2 users going to FreeBSD? :-)
Message-ID:  <19970619085008.JD18163@uriah.heep.sax.de>
In-Reply-To: <199706190535.WAA00770@rah.star-gate.com>; from Amancio Hasty on Jun 18, 1997 22:35:40 -0700
References:  <199706190442.MAA00611@papillon.lemis.com> <199706190535.WAA00770@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Amancio Hasty wrote:

> This is what I have for my prompt in my .tcshrc

Ah, a prompt contest?  :-)

Here's mine.  Of course, you gotta try it in an xterm...

if($?prompt) then
  #
  # ... other interactive-shell stuff
  #
  if ($?DISPLAY && $term != "emacs") then
    ## set xterm icon name to hostname, and title to host.fqdn:dirname
    set prompt = "%{\033]2;%M:%~\007\033]1;%m\007%}%n@%m %h%% "
    setenv EDITOR emacsclient
  endif
endif


-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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