From owner-freebsd-questions Sun Nov 21 12:34:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id EDAB114C47 for ; Sun, 21 Nov 1999 12:34:17 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id NAA06513; Sun, 21 Nov 1999 13:00:59 -0800 (PST) Date: Sun, 21 Nov 1999 13:00:59 -0800 (PST) From: Alfred Perlstein To: Guillaume Paquet Cc: freebsd-questions@FreeBSD.ORG Subject: Re: prompt and default editor In-Reply-To: <001e01bf345b$722ec800$0201a8c0@cgocable.ca> 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 On Sun, 21 Nov 1999, Guillaume Paquet wrote: > Hi, > > 1) How can I change my prompt? like myhostname@pwd$ > I'd like to have an example please. install zsh from ports or packages and add this to your .zshrc PS1=".%B(%b%D{%T}%B)(%b%n@%M%B)%b %~%B %#%b " > 2) How can I change the default editor of quota\crontab? vi --> pico you can define the 'EDITOR' variable to the editor you'd like these programs to use. i beg of you to not use pico to edit anything other than email messages, it has a tendacy to break files by inserting line breaks in places you'd rather it not. if vi is too difficult for you then try 'ee' export EDITOR=ee -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message