9f66d5b797ab73a54d944a7bd43d920a508625ea

Author
Andrew Vit <andrew@avit.ca>
Committer
Andrew Vit <andrew@avit.ca>
Date

Message

Document alternate install paths via ZSH variable

Uses environment variable $ZSH to configure install location.

Diff

 1diff --git a/README.textile b/README.textile
 2index 81056948611083793e95c6e021f65f460c99ee9f..0fa9b30ec774d5ffc7bded89bf151ca3cfed0345 100644
 3--- a/README.textile
 4+++ b/README.textile
 5@@ -20,9 +20,19 @@ h4. via `wget`
 6 
 7 @wget --no-check-certificate https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh@
 8 
 9-h3. The manual way
10+h4. Optional: change the install directory
11+
12+The default location is `~/.oh-my-zsh` (hidden in your home directory).
13+
14+You can change the install directory with the ZSH environment variable, either
15+by running `export ZSH=/your/path` before installing, or setting it before the
16+end of the install pipeline like this:
17+
18+@curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | ZSH=~/.dotfiles/zsh sh@
19 
20 
21+h3. The manual way
22+
23 1. Clone the repository
24 
25   @git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh@
26@@ -35,7 +45,6 @@ h3. The manual way
27 
28   @cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc@
29 
30-
31 4. Set zsh as your default shell:
32 
33   @chsh -s /bin/zsh@
34@@ -46,6 +55,8 @@ h3. Problems?
35 
36 You _might_ need to modify your PATH in ~/.zshrc if you're not able to find some commands after switching to _Oh My Zsh_.
37 
38+If you installed manually or changed the install location, check ZSH in ~/.zshrc
39+
40 h2. Usage
41 
42 * enable the plugins you want in your @~/.zshrc@ (take a look at @plugins/@ to see what's possible)