| 1 |
#! /bin/bash |
| 2 |
if [ "$1" == "" ] |
| 3 |
then |
| 4 |
echo -e "\nSpecify the style please:\n" |
| 5 |
#locate pygment | grep --color style |
| 6 |
ls -l /Library/Ruby/Gems/1.8/gems/pygments.rb-0.5.0/vendor/pygments-main/pygments/styles |
| 7 |
else |
| 8 |
pygmentize -S $1 -f html -a .highlight |
| 9 |
fi |