Meta: Fix shell syntax highlighting in ReadMe (#661)

This commit is contained in:
Danny Feliz 2019-10-15 03:11:00 -04:00 committed by Andreas Kling
parent 10324bc574
commit 45fa3b7454

View file

@ -63,12 +63,12 @@ There's also a [Patreon](https://www.patreon.com/serenityos) if you would like t
Make sure you have all the dependencies installed:
```
```bash
sudo apt install build-essential curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
```
Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with:
```
```bash
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install gcc-8 g++-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
@ -96,7 +96,7 @@ Nevertheless, here is a guide on how to [get an Insider Build](https://insider.w
WSL2 does not natively support graphical applications. This means that to actually **./run** SerenityOS, you need an X Server for windows. [Vcxsrv](https://sourceforge.net/projects/vcxsrv/) is a good option. When you start up Vcxsrv, make sure to set the Display number to 0, and to Disable access control. Before actually doing **./run**, you need to set the DISPLAY environmental variable as such:
```
```bash
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
```
This is due to a bug in WSL2. For more information, microsoft/WSL#4106.