Archived
0
0
Fork 0

fix discord wsl hack running on non wsl distros

This commit is contained in:
Daryl Ronningen 2022-07-05 11:42:20 -07:00
parent 1aaf23f01e
commit 9ecfc732f6
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

2
.zshrc
View file

@ -107,7 +107,7 @@ gitlog() {
} }
# Enable Discord RPC in WSL # Enable Discord RPC in WSL
if uname -r | grep 'Microsoft' ; then if uname -r | rg 'Microsoft' ; then
nvim() { nvim() {
pidof sudo > /dev/null pidof sudo > /dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then