1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 17:41:13 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri
8ee9d1bbfe general: Documentation update for zstyle based alias skipping support
Add documentation to surface the `zstyle` based alias skipping.
2023-05-17 02:39:09 -05:00
mattmc3
da87c79b3a Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00
Indrajit Raychaudhuri
37443368c1 ruby: Cleanup and optimize 'ruby' module
Changes:
- Honor `$RBENV_ROOT` or `RVM_DIR` if set but, no need to set it
  explicitly if not set. Instead, let the respective initialization
  scripts take care of that.
- Reverse `rbenv` vs `rvm` selection order, preferring `rbenv` instead.
- Check for availability of `rbenv` or `rvm` function instead of command
  to validate requirements. In a properly configured and initialized
  shell, `rbenv` or `rvm` will be available as function.
- Adhere to more idiomatic Zsh operation and minimize redundant syntaxes.

For additional rationale, see: https://github.com/rbenv/rbenv/wiki/Why-rbenv%3F
2021-06-01 14:31:26 -05:00
Indrajit Raychaudhuri
1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00
Indrajit Raychaudhuri
d80e393f78 general: Reformat documentation with better formatting and wording
General purpose reformating and rewording in (a few places). This should
also make markdown linting happier.

Prefer back-ticks wherever useful and use `console` for code blocks to
be executed on terminal.

Also, update references links wherever possible (including update from
'http://' to 'https://').
2021-05-05 12:21:04 -05:00
Kaleb Elwert
75b112bcd0 node, python, ruby: update docs about new envars 2019-09-10 09:10:31 -07:00
laggardkernel
6ae2f39cc1 ruby: support environment variable RBENV_ROOT 2019-09-10 09:00:11 -07:00
Alexey Zapparov
e26387656d Don't double-source chruby
If chruby was installed using default way, most likely chruby and
auto-switching will be already sourced (at least on most Linuxes).
2018-02-17 19:38:12 -08:00
Kaleb Elwert
3a0bd28e0c ruby-info: only run commands if the prompt needs the info 2017-12-04 15:08:23 -08:00
Kaleb Elwert
c7dcd21c9e Don't show ruby info if using system version
Based off a8fe1b3cb4 by @chauncey-garrett
2017-11-09 13:55:20 -08:00
Jeff Widman
38fb41d66e Use backticks rather than italics for paths
This is more typical with what I observe elsewhere
2017-08-29 16:52:06 -07:00
Indrajit Raychaudhuri
ac628c9059 [general] Switch code block formatting to use fence formatting
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
2017-07-22 13:11:29 -05:00
Kaleb Elwert
7d5beeab51 Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
François VANTOMME
bb168c5881 Doc (ruby): add doc on bundle clean alias 2017-04-13 03:04:21 -07:00
François VANTOMME
7c64584629 Add bundle clean alias 2017-04-13 03:04:21 -07:00
Shane O'Grady
90eae2b491 If a default Ruby is set, switch to it
Set PATH variables to allow gems such as Bundler to be found and for the
`ruby-info` function to properly work.

A default Ruby must be set in ~/.ruby-version; for more information, see
https://github.com/postmodern/chruby#default-ruby.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-11-11 22:52:40 -05:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
7722dd4400 Inform the user to load ruby as late as possible when using RVM 2014-02-17 23:39:22 -05:00
Sorin Ionescu
dbeb6d4e1a [Fix #361] Load chruby when found 2014-02-01 23:37:29 -05:00
Sorin Ionescu
da1a837cd4 Refactor Bundler aliases 2013-11-30 19:25:11 -05:00
Sorin Ionescu
50edc45132 [Fix #503] Prefix rails aliases with 'bundle exec' 2013-11-29 08:46:14 -05:00
Sorin Ionescu
52ea7152ad Git ignore bundler vendor/assets 2013-11-25 17:25:11 -05:00
Sorin Ionescu
b159ddb02b Do not specify a bundler install path 2013-11-25 17:25:10 -05:00
Sebastian Wiesner
8ee6634c93 Do not define $GEM_HOME
Defining it breaks gems for all users who neither use RVM nor rbenv,
but have a different default Ruby version nonetheless.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-08-25 22:24:42 -04:00
Sebastian Wiesner
0c9c099ac3 Add the RubyGems bin directory to PATH on other Unix systems
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-05-23 18:26:15 -04:00
Jeff Sandberg
29647947fe [Fix #335] Prevent rbenv from hashing gems at startup 2012-12-20 18:53:58 -05:00
Sorin Ionescu
b36d98e431 Fix the name of the theme setup function in READMEs 2012-10-02 13:01:46 -04:00
Sorin Ionescu
8ea0e42b7f Rename ruby-info zstyle patterns 2012-10-02 12:47:26 -04:00
Sorin Ionescu
8ff60ad956 [#297] Check for RVM and rbenv before returning 2012-09-25 13:03:54 -04:00
Sorin Ionescu
ac04921afa Clarify info functions descriptions 2012-09-06 23:17:38 -04:00
Sorin Ionescu
e5a9bdc4b4 [Fix #259] Add ruby-info function 2012-09-06 23:06:50 -04:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
3ec4fff033 Refactor Ruby aliases 2012-08-27 18:31:53 -04:00
Sorin Ionescu
9a52ecb21b Increase heading readability 2012-08-04 14:48:32 -04:00
Sorin Ionescu
060d9064f8 [Fix #202] Load modules all or nothing 2012-08-04 14:32:59 -04:00
Sorin Ionescu
86d0086b56 [Fix #115] Add documentation for ruby 2012-06-12 23:23:22 -04:00
Sorin Ionescu
0165379143 Clarify comments in ruby module 2012-05-20 20:13:21 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00