mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
76bc44fb91
Signed-off-by: Matt Bentley <matt@docker.com>
834 B
834 B
Dockerfile.nanorc
Dockerfile syntax highlighting for nano
Single User Installation
- Create a nano syntax directory in your home directory:
mkdir -p ~/.nano/syntax
- Copy
Dockerfile.nanorc
to~/.nano/syntax/
cp Dockerfile.nanorc ~/.nano/syntax/
- Add the following to your
~/.nanorc
to tell nano where to find theDockerfile.nanorc
file
## Dockerfile files
include "~/.nano/syntax/Dockerfile.nanorc"
System Wide Installation
- Create a nano syntax directory:
mkdir /usr/local/share/nano
- Copy
Dockerfile.nanorc
to/usr/local/share/nano
cp Dockerfile.nanorc /usr/local/share/nano/
- Add the following to your
/etc/nanorc
:
## Dockerfile files
include "/usr/local/share/nano/Dockerfile.nanorc"