1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/syntax/nano
Sebastiaan van Stijn 4cb71f8082
Update Dockerfile highlight definitions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-06-05 17:45:21 +02:00
..
Dockerfile.nanorc Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
README.md

Dockerfile.nanorc

Dockerfile syntax highlighting for nano

Single User Installation

  1. Create a nano syntax directory in your home directory:
  • mkdir -p ~/.nano/syntax
  1. Copy Dockerfile.nanorc to ~/.nano/syntax/
  • cp Dockerfile.nanorc ~/.nano/syntax/
  1. Add the following to your ~/.nanorc to tell nano where to find the Dockerfile.nanorc file
## Dockerfile files
include "~/.nano/syntax/Dockerfile.nanorc"

System Wide Installation

  1. Create a nano syntax directory:
  • mkdir /usr/local/share/nano
  1. Copy Dockerfile.nanorc to /usr/local/share/nano
  • cp Dockerfile.nanorc /usr/local/share/nano/
  1. Add the following to your /etc/nanorc:
## Dockerfile files
include "/usr/local/share/nano/Dockerfile.nanorc"