From 9ecfc732f6ccde381280a3af43a4fd343944a097 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Tue, 5 Jul 2022 11:42:20 -0700 Subject: [PATCH] fix discord wsl hack running on non wsl distros --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 19aaef1..7194974 100644 --- a/.zshrc +++ b/.zshrc @@ -107,7 +107,7 @@ gitlog() { } # Enable Discord RPC in WSL -if uname -r | grep 'Microsoft' ; then +if uname -r | rg 'Microsoft' ; then nvim() { pidof sudo > /dev/null if [ $? -ne 0 ]; then