Skip to content

Commit 5620208

Browse files
committed
Be more quiet when greping /proc/version
1 parent 27569e4 commit 5620208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bashrc-wsl.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# put your script here for WSL only
44

5-
if grep '[Mm]icrosoft' /proc/version &> /dev/null; then
5+
if grep '[Mm]icrosoft' /proc/version -q &> /dev/null; then
66
export WSL=true
77
else
88
export WSL=false

0 commit comments

Comments
 (0)