This commit is contained in:
Richard Maynard 2014-05-18 14:58:50 +00:00
commit 2b4ee26605
4 changed files with 212 additions and 4 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
}
}

View file

@ -6,3 +6,4 @@ function virtualenv_prompt_info(){
# disables prompt mangling in virtual_env/bin/activate
export VIRTUAL_ENV_DISABLE_PROMPT=1
export VIRTUAL_ENV_DISABLE_PROMPT_BY_PLUGIN=1