paper-tonic/setup.sh

16 lines
444 B
Bash
Raw Normal View History

2020-10-25 17:33:51 +00:00
#!/usr/bin/sh
sed "s/$1/$2/g" "colors/$1.lua" > "colors/$2.lua"
rm "colors/$1.lua"
sed "s/$1/$2/g" "doc/$1.txt" > "doc/$2.txt"
rm "doc/$1.txt"
2020-09-03 16:04:10 +00:00
mv "lua/$1.lua" "lua/$2.lua"
sed "s/$1/$2/g" "README.md" > "README_2.md"
mv "README_2.md" "README.md"
2020-10-25 17:37:36 +00:00
echo "Run 'set rtp+=$(pwd)' from within Vim to include this folder in your runtime path."
echo ""
echo "You must do this before sourcing your colorscheme, unless you are using a plugin manager."