From 324d8ac93c8b52c0f26d4d48f23c3cc02b979ce2 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Mon, 4 May 2026 14:47:38 +0100 Subject: Add a fmt-nix alias to zsh --- modules/shell.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/shell.nix b/modules/shell.nix index a5c99f2..f0beeb8 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -33,6 +33,9 @@ export JAVA_HOME="$java_home" fi ''; + shellAliases = { + fmt-nix = "nix run nixpkgs#nixfmt-tree"; + }; plugins = [ { name = "fzf-tab"; -- cgit v1.2.3