Commit c3198e0aa07428afb76c5503ac8e6118ad233149
1 parent
e0d9cfa43f
Set `$ZSH` to oh-my-zsh clone location in `-lib`. Fix #46.
Some plugins seem to rely on the `$ZSH` variable pointing to the oh-my-zsh clone being used. See README for more.
Showing 2 changed files with 9 additions and 3 deletions Side-by-side Diff
README.mkd
... | ... | @@ -350,19 +350,22 @@ usable in a non-interactive fashion. |
350 | 350 | |
351 | 351 | ### antigen-lib |
352 | 352 | |
353 | -This is a shortcut to | |
353 | +This is (almost) the same as | |
354 | 354 | |
355 | 355 | antigen-bundle --loc=lib |
356 | 356 | |
357 | 357 | So, it basically installs the oh-my-zsh's library as a bundle. |
358 | 358 | |
359 | +One other thing it does is that some oh-my-zsh plugins expect a `$ZSH` set to | |
360 | +the full path of the oh-my-zsh clone being used. This is also set to the | |
361 | +correct path, if not already set to something else. | |
362 | + | |
359 | 363 | Please note that this assumes that the `ANTIGEN_DEFAULT_REPO_URL` is set to the |
360 | 364 | oh-my-zsh repo or a fork of that repo. If you want to specify the `url` too, |
361 | 365 | then you can't use the `antigen-lib` short cut. You have to do that directly |
362 | 366 | with the `antigen-bundle` command. |
363 | 367 | |
364 | -This is present only for legacy reasons and *might* (or might not) be removed in | |
365 | -the future. | |
368 | +This is present to ease dealing with oh-my-zsh plugins. | |
366 | 369 | |
367 | 370 | Use |
368 | 371 |
antigen.zsh