Date: Mon, 11 May 1998 00:07:15 +0300 (EET DST) From: Evren Yurtesen <yurtesen@ispro.net.tr> To: Scott Myron <zamy27@hsonline.net> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: about the prompt Message-ID: <Pine.LNX.3.96.980511000424.16378G-100000@avrasya.ispro.net.tr> In-Reply-To: <355575E0.602001D3@hsonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980511000424.16378G-100000>