aboutsummaryrefslogtreecommitdiffstats
path: root/home/nushell.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-11 12:56:47 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-11 12:56:47 +0200
commit95ad2b8bdbe6496423ed5ddde1fc097252ba789f (patch)
treef20ea07be54928317656dd0a9549c94491383d8f /home/nushell.nix
parentc8102fdbf4f20667014f3b05bd46b16f73473c9b (diff)
downloadnixos-95ad2b8bdbe6496423ed5ddde1fc097252ba789f.tar.zst
Update the import command
Diffstat (limited to '')
-rw-r--r--home/nushell.nix4
1 files 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] {