mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
Use backticks rather than italics for paths
This is more typical with what I observe elsewhere
This commit is contained in:
parent
727f094b0f
commit
38fb41d66e
@ -8,7 +8,7 @@ Local Gem Installation
|
|||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
When a Ruby version manager is not detected, local gems are installed in
|
When a Ruby version manager is not detected, local gems are installed in
|
||||||
*~/.gems*; otherwise, they are installed according to the manager.
|
`~/.gems`; otherwise, they are installed according to the manager.
|
||||||
|
|
||||||
RVM
|
RVM
|
||||||
---
|
---
|
||||||
@ -35,7 +35,7 @@ not known to cause conflicts with shell scripts.
|
|||||||
chruby
|
chruby
|
||||||
------
|
------
|
||||||
|
|
||||||
Yet another alternative is [chruby][6], which is simpler than both RVM and
|
Yet another alternative is [chruby][4], which is simpler than both RVM and
|
||||||
rbenv.
|
rbenv.
|
||||||
|
|
||||||
### Settings
|
### Settings
|
||||||
@ -43,7 +43,7 @@ rbenv.
|
|||||||
#### Auto-Switch
|
#### Auto-Switch
|
||||||
|
|
||||||
To enable auto switching the Ruby version on directory change based on the
|
To enable auto switching the Ruby version on directory change based on the
|
||||||
.ruby-version file, add the following line to *zpreztorc*:
|
`.ruby-version` file, add the following line to [`zpreztorc`][5]:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
|
||||||
@ -53,7 +53,7 @@ Bundler
|
|||||||
-------
|
-------
|
||||||
|
|
||||||
Manage gems that are not meant to be used as commands, such as application
|
Manage gems that are not meant to be used as commands, such as application
|
||||||
dependencies, with [Bundler][4].
|
dependencies, with [Bundler][6].
|
||||||
|
|
||||||
Aliases
|
Aliases
|
||||||
-------
|
-------
|
||||||
@ -67,14 +67,14 @@ Aliases
|
|||||||
- `rbb` manages ruby dependencies (`bundle`).
|
- `rbb` manages ruby dependencies (`bundle`).
|
||||||
- `rbbc` cleans up unused gems in your bundler directory.
|
- `rbbc` cleans up unused gems in your bundler directory.
|
||||||
- `rbbe` executes a script in the context of the current bundle.
|
- `rbbe` executes a script in the context of the current bundle.
|
||||||
- `rbbi` installs the gems specified in the *Gemfile* in *vendor/bundle*.
|
- `rbbi` installs the gems specified in the `Gemfile` in `vendor/bundle`.
|
||||||
- `rbbI` installs the following:
|
- `rbbI` installs the following:
|
||||||
- gems specified in the *Gemfile* in *vendor/bundle*.
|
- gems specified in the `Gemfile` in `vendor/bundle`.
|
||||||
- packages the gems into *vendor/cache*.
|
- packages the gems into `vendor/cache`.
|
||||||
- appends bundler directories to *.gitignore*.
|
- appends bundler directories to `.gitignore`.
|
||||||
- `rbbl` lists all gems in the current bundle.
|
- `rbbl` lists all gems in the current bundle.
|
||||||
- `rbbo` opens an installed gem in the editor.
|
- `rbbo` opens an installed gem in the editor.
|
||||||
- `rbbp` packages gem files into *vendor/cache*.
|
- `rbbp` packages gem files into `vendor/cache`.
|
||||||
- `rbbu` updates gems to their latest version.
|
- `rbbu` updates gems to their latest version.
|
||||||
|
|
||||||
Functions
|
Functions
|
||||||
@ -99,13 +99,14 @@ Then add `$ruby_info[version]` to `$PROMPT` or `$RPROMPT` and call
|
|||||||
Authors
|
Authors
|
||||||
-------
|
-------
|
||||||
|
|
||||||
*The authors of this module should be contacted via the [issue tracker][5].*
|
*The authors of this module should be contacted via the [issue tracker][7].*
|
||||||
|
|
||||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||||
|
|
||||||
[1]: http://www.ruby-lang.org
|
[1]: http://www.ruby-lang.org
|
||||||
[2]: https://rvm.io
|
[2]: https://rvm.io
|
||||||
[3]: https://github.com/sstephenson/rbenv
|
[3]: https://github.com/sstephenson/rbenv
|
||||||
[4]: http://gembundler.com
|
[4]: https://github.com/postmodern/chruby
|
||||||
[5]: https://github.com/sorin-ionescu/prezto/issues
|
[5]: https://github.com/sorin-ionescu/prezto/blob/master/runcoms/zpreztorc
|
||||||
[6]: https://github.com/postmodern/chruby
|
[6]: http://gembundler.com
|
||||||
|
[7]: https://github.com/sorin-ionescu/prezto/issues
|
||||||
|
Loading…
Reference in New Issue
Block a user