Merge pull request #604 from stepan-a/Fix-pigmentize-in-less
Fixed pygmentize in less.pull/606/head
commit
6e474ee8b3
|
|
@ -23,6 +23,6 @@ if $(command -v pygmentize &> /dev/null) ; then
|
||||||
about 'it pigments the file passed in and passes it to less for pagination'
|
about 'it pigments the file passed in and passes it to less for pagination'
|
||||||
param '$1: the file to paginate with less'
|
param '$1: the file to paginate with less'
|
||||||
example 'less mysite/manage.py'
|
example 'less mysite/manage.py'
|
||||||
pygmentize "$*" | "$LESS_BIN" -R
|
pygmentize -g $* | "$LESS_BIN" -R
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue