From a2bc925c95c98e6d4b0f7dbc9a4908ccbf62d854 Mon Sep 17 00:00:00 2001 From: Louis Varin <109242973+louib-bitgo@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:53:12 -0800 Subject: [PATCH] feat: preserving the shell when nix developing (#80) --- flakes/shell-config/shell-init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flakes/shell-config/shell-init.sh b/flakes/shell-config/shell-init.sh index 3889326..4cd1f29 100644 --- a/flakes/shell-config/shell-init.sh +++ b/flakes/shell-config/shell-init.sh @@ -94,9 +94,9 @@ ndv () { flake_path=$1 # If no path is provided, use the current directory if [ -z "$flake_path" ]; then - nix develop . + nix develop . -c "$SHELL" else - nix develop "$flake_path" + nix develop "$flake_path" -c "$SHELL" fi } nfu () {