Skip to content

Commit

Permalink
remove colorscheme_template; add one more script to detect bogus themes
Browse files Browse the repository at this point in the history
  • Loading branch information
loreb committed Aug 1, 2016
1 parent 1208028 commit b526798
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 88 deletions.
88 changes: 0 additions & 88 deletions colors/colorscheme_template.vim

This file was deleted.

29 changes: 29 additions & 0 deletions scripts/toremove2
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#! /bin/sh
# Print colorschemes that should be removed

# First, go to the right directory...
dirok() { test -d colors ; }
for i in 1 2 3 4 5 6 7 8 ; do
dirok || cd .. || exit
done
dirok || { echo>&2 botched directory; exit 123; }

exception() {
for e in \
distinguished.vim \
gotham256.vim \
gotham.vim \
hybrid-light.vim \
last256.vim \
primary.vim \
random.vim \
seoul256-light.vim \
; do
test colors/"$e" = "$1" && return 0
done
false
}
for colo in colors/*.vim ; do
egrep 'hi.*(term|gui)' >/dev/null "$colo" && continue
exception "$colo" || echo "$colo" || exit
done

0 comments on commit b526798

Please sign in to comment.