RaspberryPi change default editor: Difference between revisions
Jump to navigation
Jump to search
(Created page with "do: sudo vi /etc/profile add: export EDITOR="/usr/bin/vi" Category:RaspberryPi") |
No edit summary |
||
Line 1: | Line 1: | ||
=== Solution 1 === | |||
root@raspberrypi:/dev# rm /usr/bin/editor | |||
root@raspberrypi:/dev# ln -s /usr/bin/vi /usr/bin/editor | |||
=== Solution 2 === | |||
do: | do: | ||
Latest revision as of 14:28, 29 July 2013
Solution 1
root@raspberrypi:/dev# rm /usr/bin/editor root@raspberrypi:/dev# ln -s /usr/bin/vi /usr/bin/editor
Solution 2
do:
sudo vi /etc/profile
add:
export EDITOR="/usr/bin/vi"