Skip to content

Instantly share code, notes, and snippets.

@Wartz
Created March 4, 2015 17:02
Show Gist options
  • Save Wartz/79120de3d77c11b9bf25 to your computer and use it in GitHub Desktop.
Save Wartz/79120de3d77c11b9bf25 to your computer and use it in GitHub Desktop.
A way to quickly test the look and style of your color theme.
#!/bin/bash
#System color testing
#Substitute xterm with your terminal of choice.
#Substitude the folder location with one of your choice
#Create a folder structure like so.
#colortests/folder1/
# /folder2/
# /folder3/
# /file.py
# /file.sh
# /file.txt
TESTS=~/Projects/coloripsum
TERM=xterm
$TERM -e nano $TESTS/file.py &
$TERM -e vim $TESTS/file.sh &
$TERM -e htop &
$TERM -e "ls $TESTS/"\;bash &
$TERM -e "cat $TESTS/file.txt"\;bash &
wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment