summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-10-31 21:30:59 +0100
committerstuebinm2022-11-11 21:20:58 +0100
commit421f58aa8b7c3b3f1cd1e9ddfe9f7081782e9011 (patch)
tree8fa7a8d4fbf7025b14eabdf3a16d8fdbe92a33d3
parent03f71497c5ec3cdf36fe3970d2d5630a4cfefe13 (diff)
home: add xml pretty-printing alias
-rw-r--r--home/home.nix1
-rw-r--r--home/packages.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/home/home.nix b/home/home.nix
index 76ba624..71befda 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -63,6 +63,7 @@
news = "newsboat";
pj = "pijul";
agenda = "CLICOLOR_FORCE=1 almanac month ~/.cache/feedsync/* | less";
+ xmlpretty = "xmllint --format - | bat -l xml";
};
};
diff --git a/home/packages.nix b/home/packages.nix
index 1759d3e..b24fa15 100644
--- a/home/packages.nix
+++ b/home/packages.nix
@@ -41,6 +41,7 @@ in
(agda.withPackages (p: [ p.standard-library p.cubical ]))
# html, js & co
jq html-tidy nodePackages.stylelint nodePackages.js-beautify zola
+ libxml2
# purescript
spago purescript # nodePackages.purescript-language-server nodejs
# rust