My New Mac Setup

I set up a new Mac for work today. Here's what I did immediately:

npm i -g diff-so-fancy
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"

You can also diff with this bash function dif() { git diff --color --no-index "$1" "$2" | diff-so-fancy; } or with VSCode code --diff file1.js file2.js


Webmentions

Failed to load...