Merge branch 'ephur'

This commit is contained in:
Richard Maynard 2014-04-22 00:01:54 -05:00
commit b16cbc4153
2 changed files with 206 additions and 3 deletions

View file

@ -6,9 +6,9 @@
alias colorize='colorize_via_pygmentize'
colorize_via_pygmentize() {
if [ ! -x $(which pygmentize) ]; then
if [ ! -x $(which pygmentize | awk ' { print $(NF) } ') ]; then
echo package \'pygmentize\' is not installed!
exit -1
return -1
fi
if [ $# -eq 0 ]; then
@ -25,4 +25,4 @@ colorize_via_pygmentize() {
pygmentize -g "$FNAME"
fi
done
}
}