Any extra tips or tricks are welcome!
Yesterday I learned that set -x
enables trace for a bash, sh, or zsh script and prints the trace to the terminal.
Any extra tips or tricks are welcome!
Yesterday I learned that set -x
enables trace for a bash, sh, or zsh script and prints the trace to the terminal.
I’m a pretty big fan of
icdiff
. This utility allows you to compare two files to see what has been added or removed by using colorful fonts to highlight values.https://github.com/jeffkaufman/icdiff
Another good one is riff (riffdiff on crates.io).
EDIT: for single-column view, that is
I recently learned about diffsitter which uses tree-sitter for meaningful diffs