Kumba wrote:
I will testify on a stack of howtos that the following code appears very near the beginning of the "chroot-time" bash script I use to perform an install:Chris Gianelloni wrote:
That is definitely not my fight. I am 100% willing to drop nano like a bad habit in favor for vim on the stages, but I am not willing to argue it. If you can convince people that the default editor should be vim, I'll back you, but I am definitely not going to lead that flame-fest.
Whatever editor is default is a moot point AFAIAC, but to be fair to old and new users alike, both editors should be included in one form or another. It's all about choice -- TheGentooWay(TM).
--Kumba
export EDIT="nano -w" # just in case
# get a *real* editor emerge -k vim && export EDIT="vim"
$EDIT /etc/fstab
. . .
To play devil's advocate, though, downloading and compiling "vim" is a tad more time-consuming than accessing a pre-compiled "vim" from a stage1 tarball would be. Nano is a very light editor. Is there room on a minimal LiveCD for "vim" and all its dependencies?
-- [email protected] mailing list
