diff --git a/README.md b/README.md index de9b3dd..8f8c3a2 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ [^benchmark-specs] | Cores | Seconds | - |:-----:|:--------: - | 1 | 40 | - | 2 | 21 | - | 4 | 15 | - | 8 | 11 | - | 16 | 10 | + | :---: | :-----: | + | 1 | 40 | + | 2 | 21 | + | 4 | 15 | + | 8 | 11 | + | 16 | 10 | - ✔️ **Powerful** @@ -84,6 +84,7 @@ Let's get Alejandra on our systems: - Nix stable: Pick one depending on your platform: + ```bash $ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/main $ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/main @@ -118,7 +119,6 @@ Let's get Alejandra on our systems: ## Footnotes [^benchmark-specs]: - Running on a [machine](https://github.com/kamadorueda/machine) with: - CPU: 16 x Intel(R) Core(TM) i7-10700K @@ -126,9 +126,7 @@ Let's get Alejandra on our systems: - BogoMips: 7599.80 - Cache Size: 16384 KB -[^semantic-changes]: - - The methodology to claim this is: +[^semantic-changes]: The methodology to claim this is: 1. Checkout [Nixpkgs](https://github.com/nixos/nixpkgs) and run: diff --git a/treefmt.toml b/treefmt.toml index 944d008..cd3f5ed 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -23,8 +23,10 @@ includes = [ [formatter.shell] command = "shfmt" options = [ - "-i", - "2", # indent 2 + "-bn", # binary ops like && and | may start a line + "-ci", # switch cases will be indented + "-sr", # redirect operators will be followed by a space + "-i", "2", # indent 2 "-s", # simplify the code "-w", # write back to the file ]