Commit graph

8 commits

Author SHA1 Message Date
Zeh Rizzatti
0e3848093a Add node-info function
Minimal configuration required prior to calling node-info is:
ztyle -s ':prezto:module:node:info:version' format '%v'

$node_info[version] will contain the current version of node.js
on the path, if nvm is loaded.

This information can be used in prompts like $ruby_info.
2012-12-16 05:02:22 -03:00
Zeh Rizzatti
fbedaa8a2b Support for creationix/nvm
Adds support for nvm inside the node module.

If `.nvm/nvm.sh` is found, it is sourced, similar to the way rvm,
rbenv and others work.
2012-12-14 21:37:05 -03:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
060d9064f8 [Fix #202] Load modules all or nothing 2012-08-04 14:32:59 -04:00
Sorin Ionescu
bede1a2a71 Improve cache file generation 2012-07-03 21:38:56 -04:00
Sorin Ionescu
8eae776f0e [Fix #108] Add documentation for node 2012-06-12 16:44:48 -04:00
Sorin Ionescu
e5ec94af42 Check for non-empty files, not just existance 2012-05-05 18:08:25 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00