diff --git a/.zshrc b/.zshrc index 9e09c4b..7baded1 100644 --- a/.zshrc +++ b/.zshrc @@ -60,7 +60,7 @@ else export EDITOR="vi" fi -if [[ $(command -v uname) && !$(uname -r | grep -iq microsoft-standard) ]]; then source "$HOME/.wsl.zsh"; fi +if [[ $(command -v uname) ]] && uname -r | grep -iq microsoft-standard; then source "$HOME/.wsl.zsh"; fi if [[ -f "$HOME/work.zsh" ]]; then source "$HOME/work.zsh"