diff options
| author | Amir Saeid <amir@glgdgt.com> | 2026-05-04 14:47:38 +0100 |
|---|---|---|
| committer | Amir Saeid <amir@glgdgt.com> | 2026-05-04 14:47:38 +0100 |
| commit | 324d8ac93c8b52c0f26d4d48f23c3cc02b979ce2 (patch) | |
| tree | 1abcf2a2dd67a6cb7893188a207a9fd7f2fabbd8 /modules/shell.nix | |
| parent | b4474abfd2567bcd5e5734ba8618c21575feae42 (diff) | |
Add a fmt-nix alias to zsh
Diffstat (limited to 'modules/shell.nix')
| -rw-r--r-- | modules/shell.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |
