Be explicit about ~

This commit is contained in:
Sam Stephenson 2011-10-01 11:05:31 -05:00
parent 525c960dea
commit fb0ec9e157
2 changed files with 3 additions and 3 deletions

View file

@ -98,7 +98,7 @@ easy to fork and contribute any changes back upstream.
2. Add `~/.rbenv/bin` to your `$PATH` for access to the `rbenv` 2. Add `~/.rbenv/bin` to your `$PATH` for access to the `rbenv`
command-line utility. command-line utility.
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bash_profile $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`. **Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.

View file

@ -79,13 +79,13 @@ easy to fork and contribute any changes back upstream.
2. Add `~/.rbenv/bin` to your `$PATH` for access to the `rbenv` 2. Add `~/.rbenv/bin` to your `$PATH` for access to the `rbenv`
command-line utility. command-line utility.
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> .bash_profile $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`. **Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.
3. Add rbenv init to your shell to enable shims and autocompletion. 3. Add rbenv init to your shell to enable shims and autocompletion.
$ echo 'eval "$(rbenv init -)"' >> .bash_profile $ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`. **Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.