Last active
August 29, 2015 14:06
-
-
Save rsslldnphy/491749d9f5b0afabd1c2 to your computer and use it in GitHub Desktop.
Quick and dirty hacky script to test out many vim colorschemes quickly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in `ls -1 ~/.vim/colors`; do | |
echo colorscheme $(echo $f | awk -F'.' '{print $1}') >> ~/.vimrc | |
echo ";; $(echo $f | awk -F'.' '{print $1}')" >> example.clj | |
vim example.clj | |
echo "that was $f" | |
sed '$d' ~/.vimrc > .vimrc.new | |
sed '$d' example.clj > example.new | |
mv .vimrc.new ~/.vimrc | |
mv example.new example.clj | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment