Commit Graph

3 Commits (bad2b9ebac2bc8117c5a05f8182def62fea4b24e)

Author SHA1 Message Date
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