Commit Graph

4 Commits (16b455d0c63fbbacf22a9a5dc81cabf831f02e5a)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 35902d00d9 Fixed pygmentize in less.
Was not working correctly with file extensions unknown to
pygmenties. Added the -g option to pygmentize command.
2015-10-31 00:53:41 +01:00
Nils Winkler d12d78ddaf Fixed error handling in less-pretty-cat plugin
When pygmentize is not installed, the functions less/cat are not
defined, the native commands will be used instead. Also removed the
error message that was shown when the command was not found.

Using `command -v` instead of `which` to check for the existence of the
executable - this works better as it does not print an error message if
the executable is not found.
2015-07-28 15:50:21 +02:00
Miguel Morales e143d4f696 Allow for passing arguments to pygmentize 2015-06-09 07:46:32 -05:00
Miguel Morales 6821b6c0dc Add less and remove hard exit 2015-05-24 18:04:42 -05:00