Skip to content

Instantly share code, notes, and snippets.

View parmus's full-sized avatar

Martin Parm parmus

  • RELEX Solutions
  • Stockholm
  • 16:15 (UTC +01:00)
View GitHub Profile
@parmus
parmus / aliases.sh
Last active September 18, 2024 19:59
YAML syntax highlighting in less using yq
# YAML syntax highlight for the terminal. Just pipe YAML through it.
alias yc='yq -C eval-all'
# Less with YAML syntax highlighting
alias yless='yq -C eval-all | less -R'