From 69e077e8978b32de5a333fdad5b8a7855c8a9498 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 29 Jan 2024 00:53:09 +0300 Subject: [PATCH] Nix : Fix tmpshell. --- .config/bash/module/Nix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index 407a551..16b6add 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -76,14 +76,14 @@ alias shell="nix_shell" # Spawn nix-shell with specified packages. # Usage: nix_tmpshell function nix_tmpshell() { - local pkgs="${*}" + local pkgs="${@}" if [[ "${pkgs}" = "" ]]; then help nix_tmpshell return 2 fi - nix_shell="tmp" nix-shell -p "${pkgs}" + nix_shell="tmp" nix-shell -p ${pkgs} } alias tmpshell="nix_tmpshell"