526 B
526 B
Pygments lexer for dig
output
This is work in progress and probably quite horrible.
What?
Why?
dig
output can be hard to read, especially with +trace
.
How to use?
Put something like this in your .bashrc, .zshrc, or whatever:
function dig() {
/usr/bin/dig $@ | pygmentize -xl path/to/dig-lexer.py -Ostyle=monokai
}
Then rehash your shell config.