From f44fb42a0cf6fc5ca968b3bbd04b3d7a2a46c3f1 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 18 Jul 2025 00:32:05 +0300 Subject: [PATCH] nushell: nr -> *, ns -> > --- modules/common/nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/common/nix.nix b/modules/common/nix.nix index a5ca627..a397a6d 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -63,7 +63,7 @@ in { home-manager.sharedModules = [{ programs.nushell.configFile.text = mkAfter /* nu */ '' - def --wrapped nr [program: string = "", ...arguments] { + def --wrapped * [program: string = "", ...arguments] { if ($program | str contains "#") or ($program | str contains ":") { nix run $program -- ...$arguments } else { @@ -71,7 +71,7 @@ in { } } - def --wrapped ns [...programs] { + def --wrapped > [...programs] { nix shell ...($programs | each { if ($in | str contains "#") or ($in | str contains ":") { $in