Merge pull request #604 from stepan-a/Fix-pigmentize-in-less
Fixed pygmentize in less.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user