You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
The porgramm breaks if git or highlight are not installed.
highlight also has different versions on different distros, so not all arguments work for all distros (for example highlight --syntax-by-name="$filename" ).
Solution
which highlight ||exit# or better
... | (highlight -... || cat) | ...
The first one just exists the programm and might print an error message. The second one tries to skip the program.
Problem
The porgramm breaks if
gitorhighlightare not installed.highlightalso has different versions on different distros, so not all arguments work for all distros (for examplehighlight --syntax-by-name="$filename").Solution
The first one just exists the programm and might print an error message. The second one tries to skip the program.