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 |