From 95ad2b8bdbe6496423ed5ddde1fc097252ba789f Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Thu, 11 Dec 2025 12:56:47 +0200 Subject: Update the import command --- home/nushell.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/nushell.nix b/home/nushell.nix index b6d9034..0d1f072 100644 --- a/home/nushell.nix +++ b/home/nushell.nix @@ -33,8 +33,8 @@ ${pkgs.curl}/bin/curl -X PUT --data-binary @$file https://bin.tammi.cc } - def import [...files] { - ${pkgs.grim}/bin/grim -g ${pkgs.slurp}/bin/slurp $files + def import [file: path] { + ${pkgs.grim}/bin/grim -g (${pkgs.slurp}/bin/slurp) $file } def readdoc [...args] { -- cgit v1.2.3-70-g09d2