From 5d3e61754cdde3807b442b72967ec2b70d996258 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Wed, 2 Jul 2025 11:42:06 +0900 Subject: [PATCH] fix: set `SHELL` to zsh inside nix-shell Signed-off-by: Seongmin Lee --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index aac3fae..0513007 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -23,6 +23,10 @@ zle -N edit-command-line bindkey '^Xe' edit-command-line bindkey '^X^E' edit-command-line +if [[ -n "$IN_NIX_SHELL" ]]; then + export SHELL=$(which zsh) +fi + # Added by LM Studio CLI (lms) export PATH="$PATH:$HOME/.lmstudio/bin" # End of LM Studio CLI section -- 2.51.2