view nanorc @ 164:d6bf7ed9024c

Avoid permission errors in output This happens when a non-root command runs in a dir where a file has root-only permissions (e.g. the Puppet repo)
author IBBoard <dev@ibboard.co.uk>
date Sat, 25 May 2024 15:58:34 +0100
parents bb0e1239a611
children
line wrap: on
line source

set nowrap
set nonewlines
set autoindent
set multibuffer
# Note: This won't work in older Nano, but if we include "set const" then newer Nano complains
#       DESPITE including "set quiet" later
set constantshow

## Nanorc files
include "~/.nanorc.d/nanorc.nanorc"

## Patch files
include "~/.nanorc.d/patch.nanorc"

## Perl
include "/usr/share/nano/perl.nanorc"

## Python
include "~/.nanorc.d/python.nanorc"

## Ruby
include "/usr/share/nano/ruby.nanorc"

## PHP (and HTML)
include "~/.nanorc.d/php.nanorc"

## CSS
include "~/.nanorc.d/css.nanorc"

## JavaScript
include "~/.nanorc.d/javascript.nanorc"

## Bourne shell scripts
include "~/.nanorc.d/sh.nanorc"

## XML
include "~/.nanorc.d/xml.nanorc"