summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-10-21 17:39:13 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-10-21 17:39:13 +0200
commite9de366ea7f20962f1847828b3ca185bab69a118 (patch)
tree75ebf7eae6a3ffbe08cf3ebbdf2e6de09ae59d68
parentba20b9861edef666a5bbf4e0e2392b0d07a0a907 (diff)
downloadzsh-e9de366ea7f20962f1847828b3ca185bab69a118.tar.gz
zsh-e9de366ea7f20962f1847828b3ca185bab69a118.tar.bz2
zsh-e9de366ea7f20962f1847828b3ca185bab69a118.zip
Update custom location command and fix code format
-rw-r--r--README.markdown10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index 779ce77c3..cee314de2 100644
--- a/README.markdown
+++ b/README.markdown
@@ -25,11 +25,15 @@ Oh My Zsh is installed by running one of the following commands in your terminal
#### via curl
-`sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"`
+```shell
+sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
+```
#### via wget
-`sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"`
+```shell
+sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
+```
## Using Oh My Zsh
@@ -100,7 +104,7 @@ The default location is `~/.oh-my-zsh` (hidden in your home directory)
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:
```shell
-curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | ZSH=~/.dotfiles/zsh sh
+export ZSH="~/.dotfiles/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```
#### Manual Installation