From owner-freebsd-questions Sun May 10 13:14:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05020 for freebsd-questions-outgoing; Sun, 10 May 1998 13:14:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from avrasya.ispro.net.tr (avrasya.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA04843 for ; Sun, 10 May 1998 13:13:32 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by avrasya.ispro.net.tr (8.8.6/8.7.3) with SMTP id AAA16824; Mon, 11 May 1998 00:07:15 +0300 Date: Mon, 11 May 1998 00:07:15 +0300 (EET DST) From: Evren Yurtesen To: Scott Myron cc: "freebsd-questions@FreeBSD.org" Subject: Re: about the prompt In-Reply-To: <355575E0.602001D3@hsonline.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you can put this into your /etc/csh.login file alias setprompt 'set prompt="promptname:${cwd}>"' setprompt alias cd 'chdir \!* && setprompt' alias chdir 'chdir \!* && setprompt' well if you do it like this then you will have a prompt like this when you are in /etc directory promptname:/etc> or I guess you can put this is .login file... :) +--------------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Mithatpasa Cad. No:1079/13 35290 Guzelyali | | Home:+90-232-2857604 Work:+90-232-2463992 Izmir/TURKEY | +--------------------------------------------------------+ On Sun, 10 May 1998, Scott Myron wrote: > hi. this might be easy to do or it might be hard. I'm not sure. anyway. > how I change my prompt from "#" to something like "(root@freak ~)#" or > something like that because i'm just getting sick of seeing it "#" I use > the shell csh if that helps any. thanks alot. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message