sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| #!/bin/bash | |
| set -e | |
| # ---- Configuration / Arguments ---- | |
| DEFAULT_MTU=1420 # https://github.com/tailscale/tailscale/issues/12393#issuecomment-2893170282 | |
| MTU="${1:-$DEFAULT_MTU}" | |
| # ---- Validation ---- | |
| if ! [[ "$MTU" =~ ^[0-9]+$ ]]; then |
I like writing well-formed git commits that explain the intention behind why a code change was made.
Check out Chris Beams excellent How to Write a Git Commit Message if you haven't read it.
Anyway, for a project I've been working on I've gathered up 900+ commits that hold up a pretty high quality (except for one 😁). Let's look at some trends about these commits!