Установка nano в FreeBSD 11
# cd /usr/ports/editors/nano
2) Выполняем установку
# make install
Во время установки будут появляться всплывающие окна, в которых нужно нажать «OK»
3) Включаем подсветку синтаксиса
# touch ~/.nanorc
# nano ~/.nanorc
Вставляем туда:
include "/usr/local/share/nano/c.nanorc"
include "/usr/local/share/nano/css.nanorc"
include "/usr/local/share/nano/default.nanorc"
include "/usr/local/share/nano/html.nanorc"
include "/usr/local/share/nano/java.nanorc"
include "/usr/local/share/nano/javascript.nanorc"
include "/usr/local/share/nano/json.nanorc"
include "/usr/local/share/nano/lua.nanorc"
include "/usr/local/share/nano/man.nanorc"
include "/usr/local/share/nano/mutt.nanorc"
include "/usr/local/share/nano/nanorc.nanorc"
include "/usr/local/share/nano/nftables.nanorc"
include "/usr/local/share/nano/perl.nanorc"
include "/usr/local/share/nano/php.nanorc"
include "/usr/local/share/nano/postgresql.nanorc"
include "/usr/local/share/nano/python.nanorc"
include "/usr/local/share/nano/ruby.nanorc"
include "/usr/local/share/nano/sh.nanorc"
include "/usr/local/share/nano/tcl.nanorc"
include "/usr/local/share/nano/tex.nanorc"
include "/usr/local/share/nano/texinfo.nanorc"
include "/usr/local/share/nano/xml.nanorc"
Комментариев нет:
Отправить комментарий