Allow for passing arguments to pygmentize

This commit is contained in:
Miguel Morales
2015-06-09 07:46:32 -05:00
parent 6821b6c0dc
commit e143d4f696

View File

@@ -28,5 +28,5 @@ less()
about 'it pigments the file passed in and passes it to less for pagination'
param '$1: the file to paginate with less'
example 'less mysite/manage.py'
pygmentize "$1" | "$LESS_BIN" -R
pygmentize "$*" | "$LESS_BIN" -R
}