Nano script patches -- copyright removal
This commit is contained in:
parent
50f4780aed
commit
88fa5537ca
@ -69,16 +69,18 @@ done
|
||||
|
||||
[[ $(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}"
|
||||
cp -R "Nano-Syntax-Highlighting/" "${DIRECTORY}"
|
||||
cp -R "Nano-Syntax-Highlighting"/* "${DIRECTORY}"
|
||||
|
||||
NANORC_CONTENT="$(cat ./.nanorc)"
|
||||
|
||||
cat <<EOF >~/.nanorc
|
||||
cat << EOF > ~/.nanorc
|
||||
${NANORC_CONTENT}
|
||||
include ${DIRECTORY}/*.nanorc"
|
||||
include ${DIRECTORY}/*.nanorc
|
||||
EOF
|
||||
|
||||
echo "Successfully installed custom nanorc, see ~/.nanorc"
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
#
|
||||
syntax "SPARQL" ".*\.(rq|sparql)$"
|
||||
|
Loading…
Reference in New Issue
Block a user