Всем доброго времени суток!
Решил изменить редактор по умолчанию для простого пользователя.
Из документации:
https://wiki.gentoo.org/wiki/Text_editor#User
Each user can also set their own default editor with the eselect utility. Replace <NUMBER>...
user $ eselect editor set <NUMBER>
Выполняю:
$ eselect editor set 2
!!! Error: You need root privileges!
В документации к Vim
https://wiki.gentoo.org/wiki/Vim/Guide
Написано
If you want to set this for your user only instead of system wide, set the EDITOR variable in your ~/.bashrc:
export EDITOR=«/usr/bin/vi»
Почему через eselect требует права root?
Спасибо.