Skip to content

Commit

Permalink
feat: preserving the shell when nix developing (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
louib-bitgo authored Nov 15, 2023
1 parent 8363ef8 commit a2bc925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flakes/shell-config/shell-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit a2bc925

Please sign in to comment.