Skip to content

Commit

Permalink
Be more quiet when greping /proc/version
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Jan 27, 2024
1 parent 27569e4 commit 5620208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bashrc-wsl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# put your script here for WSL only

if grep '[Mm]icrosoft' /proc/version &> /dev/null; then
if grep '[Mm]icrosoft' /proc/version -q &> /dev/null; then
export WSL=true
else
export WSL=false
Expand Down

0 comments on commit 5620208

Please sign in to comment.