Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 13:00:59 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Guillaume Paquet <foub@globetrotter.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: prompt and default editor
Message-ID:  <Pine.BSF.4.05.9911211258220.4200-100000@fw.wintelcom.net>
In-Reply-To: <001e01bf345b$722ec800$0201a8c0@cgocable.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9911211258220.4200-100000>