Commit Graph

51 Commits

Author SHA1 Message Date
Luke Childs
49f23771d3 Use echo to list glob matches rather than ls
ls falls back to current dir if there are no glob matches
i.e right after install
2016-08-29 11:52:57 +01:00
Luke Childs
9bc96c23ff Make source nvm command example identical to internal one 2016-08-28 14:51:33 +01:00
Luke Childs
bbbb52a667 Make source nvm command clearer 2016-08-28 14:45:25 +01:00
Luke Childs
8709621973 Allow nullglobs when looking for binaries 2016-08-28 14:00:30 +01:00
Luke Childs
eef332636f Add lazy loading support to node <0.12 2016-08-27 20:27:56 +01:00
Luke Childs
1c6d8dd15e Refactor lazy loading 2016-08-27 20:23:44 +01:00
Luke Childs
2a9ee9e10f Use NVM_DIR for lazy loading binary check 2016-08-27 13:28:23 +01:00
Luke Childs
9ebbf2f792 Use "%" char for shell prompt examples 2016-08-27 11:24:03 +01:00
Luke Childs
2e41031f16 Reword lazy loading section slightly 2016-08-27 11:22:01 +01:00
Luke Childs
41c2827f6e Make lazy loading performance increase clearer 2016-08-27 11:20:15 +01:00
Luke Childs
f0709a21bb Clarify NVM_LAZY_LOAD must be set before zsh-nvm is loaded 2016-08-27 11:18:02 +01:00
Luke Childs
17585ff03e Remove experimental from lazy loading title
(So hash links don't break in the future)
2016-08-27 10:54:33 +01:00
Luke Childs
ffdfe46e33 Document NVM_LAZY_LOAD option 2016-08-27 10:37:25 +01:00
Luke Childs
dbd3183930 Reformat options section 2016-08-27 10:36:40 +01:00
Luke Childs
cade63ed94 Add NVM_LAZY_LOAD option 2016-08-27 10:18:45 +01:00
Luke Childs
639e7e9f5c Add lazy loading 2016-08-27 10:05:40 +01:00
Luke Childs
c1517e0045 Remove unused function _zsh_nvm_get 2016-08-18 17:56:02 +01:00
Luke Childs
0107d4e486 Document NVM_DIR option 2016-08-18 17:49:50 +01:00
Luke Childs
e0be3a1bdf Get latest release from git tags 2016-08-09 20:54:02 +01:00
Luke Childs
0ccae77ce2 Do proper empty string test rather than truthy
Truthy doesn't seem to work on older versions of zsh
5.0.2 fails, 5.1 works
2016-07-31 20:15:06 +01:00
Luke Childs
281614aacd Export $NVM_DIR 2016-07-30 00:05:39 +01:00
Luke Childs
7a3747f0c7 Update usage in readme for new features 2016-07-26 23:42:41 +01:00
Luke Childs
86b7f6c1a9 Call help instead of --help
`--help` is only available on newer versions of nvm, `help` is backwards compatible
2016-07-26 23:32:16 +01:00
Luke Childs
a7b8594684 Add revert command 2016-07-26 23:20:32 +01:00
Luke Childs
781b46dede Use default upgrade if it's built in 2016-07-25 19:20:29 +01:00
Luke Childs
96fa6aab57 Store previous nvm version when upgrading 2016-07-25 19:03:00 +01:00
Luke Childs
a6b8ef980f Move new loading code into reusable function 2016-07-24 22:00:42 +01:00
Luke Childs
bb8bd30891 Update upgrade command in readme from nvm_update to nvm upgrade 2016-07-24 20:38:36 +01:00
Luke Childs
38f15b5ba5 Reword usage in readme 2016-07-24 20:35:52 +01:00
Luke Childs
21bfbbf3c8 Extend nvm function for upgrade command 2016-07-24 19:28:51 +01:00
Luke Childs
0795cfebbb Silence git fetch output when updating 2016-07-21 20:05:02 +01:00
Luke Childs
7fcb67740c Mention bash compatibility in readme 2016-07-13 13:33:30 +01:00
Luke Childs
48d3f9fb93 Add link to zsh-better-npm-completion 2016-07-09 09:35:59 +01:00
Luke Childs
d02a2ac3f8 Source new nvm version after update 2016-07-09 09:29:14 +01:00
Luke Childs
cfc2d02da6 Use https for manual installation
Not everyone has a GitHub account
2016-07-08 23:00:13 +01:00
Luke Childs
18c6f3340a Update manual installation instructions 2016-07-08 22:58:27 +01:00
Luke Childs
a8bfc705a7 Notify user when nvm is being installed 2016-07-08 22:41:04 +01:00
Luke Childs
1b01447272 Make NVM_DIR check consistent with others 2016-07-08 21:36:59 +01:00
Luke Childs
2e14066128 Add readme 2016-07-08 21:22:02 +01:00
Luke Childs
a8194ea562 Reorder update messages 2016-07-08 21:19:35 +01:00
Luke Childs
03d7a4bce4 Move all cd commands into sub commands
This is to stop the user's CWD being changed
2016-07-08 20:47:22 +01:00
Luke Childs
eb40361f00 Check if we need to update before updating 2016-07-08 20:34:42 +01:00
Luke Childs
2babe68372 Add update function 2016-07-08 20:28:07 +01:00
Luke Childs
34e7a4d28d Source nvm 2016-07-08 19:55:22 +01:00
Luke Childs
e1c0c7bac1 Install nvm 2016-07-08 19:54:58 +01:00
Luke Childs
4f10e63798 Add install script 2016-07-08 19:47:48 +01:00
Luke Childs
7c8449e0e8 Set NVM_DIR 2016-07-08 19:47:16 +01:00
Luke Childs
dde14339e7 Get latest release tag 2016-07-08 19:43:09 +01:00
Luke Childs
3080993da0 Silently download file and return contents 2016-07-08 13:42:00 +01:00
Luke Childs
4b14302d6d Check something is available in PATH 2016-07-08 13:39:46 +01:00