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
In the newer baselayout(s) this will be user settable inside /etc/rc.conf, as there are conflicts with making it automated.
please see, for instance, baselayout-1.8.6.4-r1