From cc68c536b30c4154fa6d95f66ae2343cd2514523 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 29 Jan 2024 02:53:42 +0300 Subject: [PATCH] Nix : Use first package as a name for tmpshell. --- .config/bash/module/Nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index 16b6add..e0dcbbb 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -83,7 +83,7 @@ function nix_tmpshell() { return 2 fi - nix_shell="tmp" nix-shell -p ${pkgs} + nix_shell="${1}" nix-shell -p ${pkgs} } alias tmpshell="nix_tmpshell"