diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-11 12:56:47 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-11 12:56:47 +0200 |
| commit | 95ad2b8bdbe6496423ed5ddde1fc097252ba789f (patch) | |
| tree | f20ea07be54928317656dd0a9549c94491383d8f /home/nushell.nix | |
| parent | c8102fdbf4f20667014f3b05bd46b16f73473c9b (diff) | |
| download | nixos-95ad2b8bdbe6496423ed5ddde1fc097252ba789f.tar.zst | |
Update the import command
Diffstat (limited to 'home/nushell.nix')
| -rw-r--r-- | home/nushell.nix | 4 |
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] { |
