Describe the bug
When using the kitty ssh kitten feature https://sw.kovidgoyal.net/kitty/kittens/ssh/ it creates a stub file on the remote host at $HOME.local/share/kitty-ssh-kitten/kitty/bin and appends that directory to the $PATH when starting the shell on the remote host. However when using mise, it seems that the update to the $PATH is lost somewhere.
Describe the bug When using the kitty ssh kitten feature https://sw.kovidgoyal.net/kitty/kittens/ssh/ it creates a stub file on the remote host at
$HOME.local/share/kitty-ssh-kitten/kitty/bin
and appends that directory to the $PATH when starting the shell on the remote host. However when usingmise
, it seems that the update to the $PATH is lost somewhere.If I
env | grep -I kitty
, I see:So I can tell the the
PATH
was updated, but mise dropped it somewhere along the way.To Reproduce
kitten ssh <host>
echo $PATH | grep kitty
echo $__MISE_ORIG_PATH | grep kitty
Expected behavior
Mise should preserve the updated PATH from kitty.
mise doctor
outputAdditional context Add any other context about the problem here. Consider running mise with
--debug
or--trace
for extra debug info.I'm using
mise activate
and alsomise hook-env
: https://github.com/chancez/dotfiles/blob/master/zsh/.zshrc#L164 but I'm testing adding the shims to my $PATH and it seems to work? Not sure what the trade-off here might be.