nushell $env.PATH in tmux.
I noticed when I use
set -g default-shell nu
DEFAULTin .tmux.conf to specify nu for the shell, it doesn’t load $env.PATH. It’s required to specify the shell with
set -g default-command to nu -l #(with full path)
DEFAULTto let the shell read your configuration file.