configuration/local/bin/pygmentize

12 lines
220 B
Plaintext
Raw Normal View History

2016-03-16 23:07:20 +01:00
#!/usr/bin/python3.4
# -*- coding: utf-8 -*-
import re
import sys
from pygments.cmdline import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())