Remove leading '$' from docs that are interfering with copy/paste
Fixes: https://github.com/bazelbuild/bazel/issues/2399
Change-Id: I21d00430cdf7ece72f532a1cb1be94e9b07a0114
PiperOrigin-RevId: 152001779
diff --git a/site/versions/master/docs/install-os-x.md b/site/versions/master/docs/install-os-x.md
index 32fff7d..a41a00f 100644
--- a/site/versions/master/docs/install-os-x.md
+++ b/site/versions/master/docs/install-os-x.md
@@ -29,12 +29,16 @@
Installing Homebrew is a one-time setup:
-`$ /usr/bin/ruby -e "$(curl -fsSL
-https://raw.githubusercontent.com/Homebrew/install/master/install)"`
+```bash
+/usr/bin/ruby -e "$(curl -fsSL
+https://raw.githubusercontent.com/Homebrew/install/master/install)"
+```
### 3. Install Bazel Homebrew Package
-`$ brew install bazel`
+```bash
+brew install bazel
+```
You are all set. You can confirm Bazel is installed successfully by running
`bazel version`.
@@ -69,7 +73,7 @@
command:
```
-$ sudo gcc --version
+sudo gcc --version
```
### 3. Download Bazel
@@ -82,8 +86,8 @@
Run the installer:
<pre>
-$ chmod +x bazel-<em>version</em>-installer-<em>os</em>.sh
-$ ./bazel-<em>version</em>-installer-<em>os</em>.sh --user
+chmod +x bazel-<version>-installer-<os>.sh
+./bazel-<version>-installer-<os>.sh --user
</pre>
The `--user` flag installs Bazel to the `$HOME/bin` directory on your system and
@@ -97,10 +101,12 @@
this directory to your default paths, as follows:
```bash
-$ export PATH="$PATH:$HOME/bin"
+export PATH="$PATH:$HOME/bin"
```
You can also add this command to your `~/.bashrc` file.
You are all set. You can confirm Bazel is installed successfully by running
-`bazel version`.
+```bash
+bazel version
+```