Gentoo Archives: gentoo-user

From: "Arthur D." <spinal.by@××××.ru>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Am I wrong?..
Date: Thu, 01 Oct 2009 15:34:25
Message-Id: op.u04nqdtf616wrr@localhost
In Reply to: Re: [gentoo-user] Am I wrong?.. by Mike Edenfield
1 Thanks for your replies, guys.
2
3 > 2. Change the default editor on your system by putting something in
4 > /etc/env.d:
5 >
6 > apollo ~ # cat /etc/env.d/99editor
7 > EDITOR="vim"
8 >
9 > --Mike
10 ===================================================
11 spinal@supervisor ~ $ cat /etc/env.d/99editor
12 # Configuration file for eselect
13 # This file has been automatically generated.
14 EDITOR="/usr/bin/vim"
15 spinal@supervisor ~ $ sudo visudo
16 visudo: no editor found (editor path = /bin/nano)
17 ===================================================
18
19 The first option works fine, but ... how much time should the user
20 spend to get things just work as expected?
21 Yes, there are such geeks like me and you, who will spend his time
22 doing what should already be done by maintainers.
23
24 Look in the man page, it's far from obvious why isn't EDITOR variable
25 respected.
26
27
28 --
29 Best regards, Spinal

Replies

Subject Author
Re: [gentoo-user] Am I wrong?.. Dan Cowsill <danthehat@×××××.com>
[gentoo-user] Re: Am I wrong?.. Doug O'Neal <oneal@××××××××.edu>