Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18537 - after unmerging nano and emerging vim the EDITOR variable still point to nano
Summary: after unmerging nano and emerging vim the EDITOR variable still point to nano
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 11:23 UTC by Andrea Barisani (RETIRED)
Modified: 2021-10-24 06:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Barisani (RETIRED) gentoo-dev 2003-03-31 11:23:13 UTC
Hi guys! 
 
/etc/env/00basic contains the EDITOR variable, even after 
"emerge unmerge nano ; emerge vim" the variable is still contains "/bin/nano". 
 
Of course a simple export "EDITOR=vi" or editing /etc/profile correct this issue, 
however it can be tricky for non-expert users. 
 
This is evident when someone tries to edit crontabs with 'crontab -e'. 
 
Can we simply automate this when emerging your favorite editor? 
 
Bye 

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge nano 
2. emerge vim 
3. crontab -e 
Actual Results:  
/bin/nano No such file or directory 

Expected Results:  
use the default installed editor
Comment 1 Chuck Brewer 2003-03-31 15:04:29 UTC
In the newer baselayout(s) this will be user settable inside /etc/rc.conf, as there are conflicts with making it automated.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-31 15:05:16 UTC
please see, for instance, baselayout-1.8.6.4-r1