Commit 329cc7582f96
Changed files (1)
tools
shpool-ssh-wrapper
tools/shpool-ssh-wrapper/default.nix
@@ -25,8 +25,9 @@ let
# Change to specified directory
cd "$1"
- # Use full path since PATH isn't set in non-login shells
- exec /etc/profiles/per-user/vincent/bin/claude
+ # Execute through zsh with proper environment
+ # zshenv sets up PATH and other environment variables
+ exec ${pkgs.zsh}/bin/zsh -c "source ~/.zshenv; exec /etc/profiles/per-user/vincent/bin/claude"
'';
in