Fix wsl detection

This commit is contained in:
Martin Pander
2025-07-11 07:39:57 +02:00
parent 606e5bed8e
commit 6a651c6a3d
3 changed files with 13 additions and 1 deletions

View File

@ -56,6 +56,11 @@
export CARGO_HOME="$HOME/.cargo"
[ -f "$CARGO_HOME/env" ] && . "$CARGO_HOME/env"
fi;
if [[ "$(uname -r)" == *Microsoft* ]]; then
if command -v tmuxp &> /dev/null && [ -z "$TMUX" ]; then
tmuxp load --yes misc
fi
fi;
'';
};