dog

about | blog | config | notes | github

Dog is a script that I wrote which sort of functions like cat. However, it will highlight syntax for you as well.

1. Configuration

1.1. Dependency Install

(zamlz/system-packages-ensure "highlight")
(provide 'init-dog-syntax-highlighter)

1.2. Script

for item in $@; do
    echo "[$item]"
    echo ""
    highlight -O ansi --force -n $item
    echo ""
done

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)