Last active
September 18, 2024 19:59
-
-
Save parmus/60dbbd2683221d58152b900a790350f7 to your computer and use it in GitHub Desktop.
YAML syntax highlighting in less using yq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment