Update vim and nano syntax docs for Debian/Ubuntu

refs #8401
This commit is contained in:
Markus Frosch 2016-02-04 13:13:23 +01:00 committed by Michael Friedrich
parent 916537b33a
commit af906e2b8b
1 changed files with 7 additions and 9 deletions

View File

@ -329,7 +329,8 @@ Install the package vim-icinga2 with your distribution's package manager.
Debian/Ubuntu:
$ apt-get install vim-icinga2
$ apt-get install vim-icinga2 vim-addon-manager
$ vim-addon-manager -w install icinga2
RHEL/CentOS/Fedora:
@ -350,9 +351,8 @@ Test it:
Install the package nano-icinga2 with your distribution's package manager.
Debian/Ubuntu:
$ apt-get install nano-icinga2
**Note:** On Debian and Ubuntu the syntax files are installed with the `icinga2-common` package, and
enabled by default.
RHEL/CentOS/Fedora:
@ -362,13 +362,11 @@ SLES/openSUSE:
$ zypper install nano-icinga2
Copy the `/etc/nanorc` sample file to your home directory.
In addition, for RPM based systems, make sure to enable the syntax extension, by copying the `/etc/nanorc`
sample file to your home directory. And including the `icinga2.nanorc` file.
$ cp /etc/nanorc ~/.nanorc
On Debian systems change `/usr/share/doc/icinga2-common-[x.x.x]/syntax/nano/icinga2.nanorc` to `/usr/share/nano/icinga2.nanorc`.
Then include the icinga2.nanorc file in your ~/.nanorc by adding the following line:
$ vim ~/.nanorc
## Icinga 2
include "/usr/share/nano/icinga2.nanorc"