Merge pull request #4535 from robbyrussell/mcornella-patch-1
[README] Update custom directory command and fix code blocks
Diff
1diff --git a/README.markdown b/README.markdown
2index 779ce77c3edcde16ad923fd8c705a86d5ef3c4b5..cee314de2ea2cdf6d801b56218e7379ca60544b4 100644
3--- a/README.markdown
4+++ b/README.markdown
5@@ -25,11 +25,15 @@ Oh My Zsh is installed by running one of the following commands in your terminal
6 7 #### via curl
8 9-`sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"`
10+```shell
11+sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
12+```
1314 #### via wget
1516-`sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"`
17+```shell
18+sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
19+```
2021 ## Using Oh My Zsh
2223@@ -100,7 +104,7 @@ The default location is `~/.oh-my-zsh` (hidden in your home directory)
24 If you'd like to change the install directory with the `ZSH` environment variable, either by running `export ZSH=/your/path` before installing, or by setting it before the end of the install pipeline like this:
2526 ```shell
27-curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | ZSH=~/.dotfiles/zsh sh
28+export ZSH="~/.dotfiles/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
29 ```
3031 #### Manual Installation