Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 1999 20:24:21 +0200
From:      Oren Sarig <sarig@bezeqint.net>
To:        Guillaume Paquet <foub@globetrotter.net>, freebsd-questions@freebsd.org
Subject:   Re: prompt and default editor
Message-ID:  <05a601bf3772$4ba57fc0$470cb3d4@asmodean>
References:  <001e01bf345b$722ec800$0201a8c0@cgocable.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
1) How can I change my prompt? like myhostname@pwd$
    I'd like to have an example please.

It depends on the shell, for example, in bash you would do a
PS1="<your prompt>"; export PS1

2) How can I change the default editor of quota\crontab?  vi --> pico

There is an environment variable called EDITOR, so in a bourne shell
you woul
EDITOR=pico; export EDITOR

--
Oren Sarig
sarig@bezeqint.net



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?05a601bf3772$4ba57fc0$470cb3d4>