fix discord wsl hack running on non wsl distros
This commit is contained in:
parent
1aaf23f01e
commit
9ecfc732f6
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.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
|
||||
|
|
Reference in a new issue