From 5a62d96f90e432a5e8e2a0a6ca90d4c1bb64a985 Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Sat, 13 Sep 2025 13:16:32 +0300 Subject: [PATCH] jj: add shfmt fix tool --- config/jj/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/jj/config.toml b/config/jj/config.toml index cd4175d..840df43 100644 --- a/config/jj/config.toml +++ b/config/jj/config.toml @@ -20,7 +20,6 @@ colocate = true sign-on-push = true auto-local-bookmark = true private-commits = "private()" -# push-bookmark-prefix = "olexsmir/" [aliases] l = ["log", "-r", "ancestors(reachable(@, mutable()), 3)"] @@ -52,3 +51,7 @@ patterns = ["glob:'**/*.go'"] [fix.tools.gleam] command = ["gleam", "format", "--stdin"] patterns = ["glob:'**/*.gleam'"] + +[fix.tools.shfmt] +command = ["shfmt"] +patterns = ["glob:'**/*.sh'"]