Nano script patches -- copyright removal

This commit is contained in:
Price Hiller 2021-07-31 09:52:27 -05:00
parent 50f4780aed
commit 88fa5537ca
3 changed files with 6 additions and 16 deletions

View File

@ -69,16 +69,18 @@ done
[[ $(confirmation "Copying *.nanorc files to ${DIRECTORY}, continue (y/N)? ") ]] && exit 1 [[ $(confirmation "Copying *.nanorc files to ${DIRECTORY}, continue (y/N)? ") ]] && exit 1
[[ $(nano -V | head -n 1 | grep 5.) == "" ]] && error "Nano version is not 5.X, consult nano -V and update nano." echo ""
echo "It is recommended to update to Nano version 5 if you have not yet... see https://www.nano-editor.org/download.php"
sleep 3;
echo "Copying syntax files to ${DIRECTORY}" echo "Copying syntax files to ${DIRECTORY}"
cp -R "Nano-Syntax-Highlighting/" "${DIRECTORY}" cp -R "Nano-Syntax-Highlighting"/* "${DIRECTORY}"
NANORC_CONTENT="$(cat ./.nanorc)" NANORC_CONTENT="$(cat ./.nanorc)"
cat <<EOF >~/.nanorc cat << EOF > ~/.nanorc
${NANORC_CONTENT} ${NANORC_CONTENT}
include ${DIRECTORY}/*.nanorc" include ${DIRECTORY}/*.nanorc
EOF EOF
echo "Successfully installed custom nanorc, see ~/.nanorc" echo "Successfully installed custom nanorc, see ~/.nanorc"

View File

@ -1,9 +1,3 @@
// Copyright 2021, Price Hiller - All Rights Reserved
//
// Copying, distribution, usage, or modification of this file or the following source code, via any
// method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com)
// The following file contains proprietary and confidential content
############################################################################## ##############################################################################
# #
# Lua syntax highlighting for Nano. # Lua syntax highlighting for Nano.

View File

@ -1,9 +1,3 @@
// Copyright 2021, Price Hiller - All Rights Reserved
//
// Copying, distribution, usage, or modification of this file or the following source code, via any
// method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com)
// The following file contains proprietary and confidential content
## SPARQL 1.1 and SPARQL 1.1 UPDATE ## SPARQL 1.1 and SPARQL 1.1 UPDATE
# #
syntax "SPARQL" ".*\.(rq|sparql)$" syntax "SPARQL" ".*\.(rq|sparql)$"