Re: update-alternatives problem
On Tue, Aug 06, 2002 at 06:28:16AM +0800, csj wrote:
>Running "update-alternatives --config editor", I select jmacs. jmacs
>isn't actually a program but a link to joe:
>$ file /usr/bin/jmacs
>/usr/bin/jmacs: symbolic link to joe
I find it a lot easier to simply remove the entry from
/etc/alternatives and put a new one in.
For example, to switch the editor from nvi to vim, the command is:
'rm /etc/alternatives/vi && ln -s /usr/bin/vim /etc/alternatives/vi'
Really, what could be easier?
It has the added advantage that you don't need to learn the syntax
of the update-alternatives command.