From 9298de48ffb478c1b488d0b37e471468d653c7e2 Mon Sep 17 00:00:00 2001 From: Adam Hellberg Date: Tue, 9 Mar 2021 17:24:07 +0100 Subject: [PATCH] Make WSL detection case insensitive --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 9cf33c0..4f6b29b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -4,7 +4,7 @@ path=($HOME/.local/bin "$path[@]") path[$path[(i)/mnt/c/Ruby/bin]]=() export path -if grep -q Microsoft /proc/version; then +if grep -iq Microsoft /proc/version; then is_wsl=1 else is_wsl= -- 2.54.0