Commit bac244cc11a37b61034d5c76366c191dba4d533f
1 parent
a58b694d9d
Added notes on prezto support.
Showing 1 changed file with 16 additions and 1 deletions Inline Diff
README.mkd
1 | # Antigen <sup>β</sup> | 1 | # Antigen <sup>β</sup> |
2 | 2 | ||
3 | [](http://travis-ci.org/zsh-users/antigen) | 3 | [](http://travis-ci.org/zsh-users/antigen) |
4 | 4 | ||
5 | Antigen is a small set of functions that help you easily manage your shell (zsh) | 5 | Antigen is a small set of functions that help you easily manage your shell (zsh) |
6 | plugins, called bundles. The concept is pretty much the same as bundles in a | 6 | plugins, called bundles. The concept is pretty much the same as bundles in a |
7 | typical vim+pathogen setup. Antigen is to zsh, what [Vundle][] is to vim. | 7 | typical vim+pathogen setup. Antigen is to zsh, what [Vundle][] is to vim. |
8 | 8 | ||
9 | Please note that this is a very new project and can be considered beta at best. | 9 | Please note that this is a very new project and can be considered beta at best. |
10 | That said, I am using antigen full time now on my work machine. | 10 | That said, I am using antigen full time now on my work machine. |
11 | 11 | ||
12 | Note: Please read the commit comments of the changesets when you pull a new | 12 | Note: Please read the commit comments of the changesets when you pull a new |
13 | version of antigen. | 13 | version of antigen. |
14 | 14 | ||
15 | ## Show off | 15 | ## Show off |
16 | 16 | ||
17 | > Enough talk. Let's fight! | 17 | > Enough talk. Let's fight! |
18 | > -- Po, Kung-fu Panda. | 18 | > -- Po, Kung-fu Panda. |
19 | 19 | ||
20 | You're going to experience antigen right in your open shell. No `.zshrc` | 20 | You're going to experience antigen right in your open shell. No `.zshrc` |
21 | tweaking and reading the rest of this documentation. Kinda like an ice-cream | 21 | tweaking and reading the rest of this documentation. Kinda like an ice-cream |
22 | sample, if you will. | 22 | sample, if you will. |
23 | 23 | ||
24 | Get and load antigen. | 24 | Get and load antigen. |
25 | 25 | ||
26 | curl https://raw.github.com/zsh-users/antigen/master/antigen.zsh > antigen.zsh | 26 | curl https://raw.github.com/zsh-users/antigen/master/antigen.zsh > antigen.zsh |
27 | source antigen.zsh | 27 | source antigen.zsh |
28 | 28 | ||
29 | There. You now have all the antigen goodies. Let's try install some plugins. How | 29 | There. You now have all the antigen goodies. Let's try install some plugins. How |
30 | about some color to start with. Get the [syntax highlighting plugin][] by | 30 | about some color to start with. Get the [syntax highlighting plugin][] by |
31 | running | 31 | running |
32 | 32 | ||
33 | antigen-bundle zsh-users/zsh-syntax-highlighting | 33 | antigen-bundle zsh-users/zsh-syntax-highlighting |
34 | 34 | ||
35 | Now let it do its thing and once you're back at your prompt, try and type a | 35 | Now let it do its thing and once you're back at your prompt, try and type a |
36 | command. See that? Colors! | 36 | command. See that? Colors! |
37 | 37 | ||
38 | So, you do git? ruby? git and ruby? There are lots of awesome plugins over at | 38 | So, you do git? ruby? git and ruby? There are lots of awesome plugins over at |
39 | oh-my-zsh. Treat yourself to some. | 39 | oh-my-zsh. Treat yourself to some. |
40 | 40 | ||
41 | antigen-bundle robbyrussell/oh-my-zsh plugins/ruby | 41 | antigen-bundle robbyrussell/oh-my-zsh plugins/ruby |
42 | # Or for the lazy, | 42 | # Or for the lazy, |
43 | antigen-bundle git | 43 | antigen-bundle git |
44 | 44 | ||
45 | There are lots of plugins out there in the wild and people are writing zsh | 45 | There are lots of plugins out there in the wild and people are writing zsh |
46 | utilities as small scripts all the time. Antigen is compatible with all of them. | 46 | utilities as small scripts all the time. Antigen is compatible with all of them. |
47 | The plugins and scripts don't need any special handling to be compatible with | 47 | The plugins and scripts don't need any special handling to be compatible with |
48 | antigen. | 48 | antigen. |
49 | 49 | ||
50 | Another example, [kennethreitz's autoenv][autoenv]. Just a bundle command away. | 50 | Another example, [kennethreitz's autoenv][autoenv]. Just a bundle command away. |
51 | 51 | ||
52 | antigen-bundle kennethreitz/autoenv | 52 | antigen-bundle kennethreitz/autoenv |
53 | 53 | ||
54 | And boom! you have all the autoenv goodness. Just remember how you used to do | 54 | And boom! you have all the autoenv goodness. Just remember how you used to do |
55 | these before antigen, clone it, modify your bashrc to source it, load a new | 55 | these before antigen, clone it, modify your bashrc to source it, load a new |
56 | terminal, all just to test it out. Duh! | 56 | terminal, all just to test it out. Duh! |
57 | 57 | ||
58 | A subtle aspect of this is that you can tell antigen to grab just about anything | 58 | A subtle aspect of this is that you can tell antigen to grab just about anything |
59 | from anyone's `dotfiles` repo, as long as it is in a directory under any repo on | 59 | from anyone's `dotfiles` repo, as long as it is in a directory under any repo on |
60 | github. | 60 | github. |
61 | 61 | ||
62 | And themes? How would you like a fancy new prompt for yourself? | 62 | And themes? How would you like a fancy new prompt for yourself? |
63 | 63 | ||
64 | antigen-theme funky | 64 | antigen-theme funky |
65 | 65 | ||
66 | No? Not your taste? There are many themes available to you, check out the | 66 | No? Not your taste? There are many themes available to you, check out the |
67 | oh-my-zsh's [page on themes][]. | 67 | oh-my-zsh's [page on themes][]. |
68 | 68 | ||
69 | You can install themes from unofficial repos too! | 69 | You can install themes from unofficial repos too! |
70 | 70 | ||
71 | antigen-theme XsErG/zsh-themes themes/lazyuser | 71 | antigen-theme XsErG/zsh-themes themes/lazyuser |
72 | 72 | ||
73 | See? It's easy! To see how that works, refer to the section on the | 73 | See? It's easy! To see how that works, refer to the section on the |
74 | `antigen-theme` command further down. | 74 | `antigen-theme` command further down. |
75 | 75 | ||
76 | Note: Many of those plugins and especially themes, assume you have the core | 76 | Note: Many of those plugins and especially themes, assume you have the core |
77 | library of oh-my-zsh loaded. So, if you want to experiment further, issue a | 77 | library of oh-my-zsh loaded. So, if you want to experiment further, issue a |
78 | 78 | ||
79 | antigen-lib | 79 | antigen-lib |
80 | 80 | ||
81 | and continue until you're tired. At which point you can come back to this page | 81 | and continue until you're tired. At which point you can come back to this page |
82 | ;) | 82 | ;) |
83 | 83 | ||
84 | ## Usage | 84 | ## Usage |
85 | 85 | ||
86 | So, now that you're here, I suppose you are convinced and want antigen running | 86 | So, now that you're here, I suppose you are convinced and want antigen running |
87 | your shell all the time. Sweet. Let's do it. | 87 | your shell all the time. Sweet. Let's do it. |
88 | 88 | ||
89 | First, clone this repo, probably as a submodule if you have your dotfiles in a | 89 | First, clone this repo, probably as a submodule if you have your dotfiles in a |
90 | git repo, | 90 | git repo, |
91 | 91 | ||
92 | git clone https://github.com/zsh-users/antigen.git | 92 | git clone https://github.com/zsh-users/antigen.git |
93 | 93 | ||
94 | The usage should be very familiar to you if you use Vundle. A typical `.zshrc` | 94 | The usage should be very familiar to you if you use Vundle. A typical `.zshrc` |
95 | might look like this | 95 | might look like this |
96 | 96 | ||
97 | source /path-to-antigen-clone/antigen.zsh | 97 | source /path-to-antigen-clone/antigen.zsh |
98 | 98 | ||
99 | # Load the oh-my-zsh's library. | 99 | # Load the oh-my-zsh's library. |
100 | antigen-lib | 100 | antigen-lib |
101 | 101 | ||
102 | # Bundles from the default repo (robbyrussell's oh-my-zsh). | 102 | # Bundles from the default repo (robbyrussell's oh-my-zsh). |
103 | antigen-bundle git | 103 | antigen-bundle git |
104 | antigen-bundle heroku | 104 | antigen-bundle heroku |
105 | antigen-bundle pip | 105 | antigen-bundle pip |
106 | antigen-bundle lein | 106 | antigen-bundle lein |
107 | antigen-bundle command-not-found | 107 | antigen-bundle command-not-found |
108 | 108 | ||
109 | # Syntax highlighting bundle. | 109 | # Syntax highlighting bundle. |
110 | antigen-bundle zsh-users/zsh-syntax-highlighting | 110 | antigen-bundle zsh-users/zsh-syntax-highlighting |
111 | 111 | ||
112 | # Load the theme. | 112 | # Load the theme. |
113 | antigen-theme robbyrussell | 113 | antigen-theme robbyrussell |
114 | 114 | ||
115 | # Tell antigen that you're done. | 115 | # Tell antigen that you're done. |
116 | antigen-apply | 116 | antigen-apply |
117 | 117 | ||
118 | Open your zsh with this zshrc and you should see all the bundles you defined | 118 | Open your zsh with this zshrc and you should see all the bundles you defined |
119 | here, getting installed. Once its done, you are ready to roll. The complete | 119 | here, getting installed. Once its done, you are ready to roll. The complete |
120 | syntax for the `antigen-bundle` command is discussed further down on this page. | 120 | syntax for the `antigen-bundle` command is discussed further down on this page. |
121 | 121 | ||
122 | ## Motivation | 122 | ## Motivation |
123 | 123 | ||
124 | If you use zsh and [oh-my-zsh][], you know that having many different plugins | 124 | If you use zsh and [oh-my-zsh][], you know that having many different plugins |
125 | that are developed by many different authors in a single (sub)repo is not very | 125 | that are developed by many different authors in a single (sub)repo is not very |
126 | easy to maintain. There are some really fantastic plugins and utilities in | 126 | easy to maintain. There are some really fantastic plugins and utilities in |
127 | oh-my-zsh, but having them all in a single repo doesn't really scale well. And I | 127 | oh-my-zsh, but having them all in a single repo doesn't really scale well. And I |
128 | admire robbyrussell's efforts for reviewing and merging the gigantic number of | 128 | admire robbyrussell's efforts for reviewing and merging the gigantic number of |
129 | pull requests the project gets. We need a better way of plugin management. | 129 | pull requests the project gets. We need a better way of plugin management. |
130 | 130 | ||
131 | This was discussed on [a][1] [few][2] [issues][3], but it doesn't look like | 131 | This was discussed on [a][1] [few][2] [issues][3], but it doesn't look like |
132 | there was any progress made. So, I'm trying to start this off with antigen, | 132 | there was any progress made. So, I'm trying to start this off with antigen, |
133 | hoping to better this situation. Please note that I'm by no means a zsh or any | 133 | hoping to better this situation. Please note that I'm by no means a zsh or any |
134 | shell script expert (far from it). | 134 | shell script expert (far from it). |
135 | 135 | ||
136 | [1]: https://github.com/robbyrussell/oh-my-zsh/issues/465 | 136 | [1]: https://github.com/robbyrussell/oh-my-zsh/issues/465 |
137 | [2]: https://github.com/robbyrussell/oh-my-zsh/issues/377 | 137 | [2]: https://github.com/robbyrussell/oh-my-zsh/issues/377 |
138 | [3]: https://github.com/robbyrussell/oh-my-zsh/issues/1014 | 138 | [3]: https://github.com/robbyrussell/oh-my-zsh/issues/1014 |
139 | 139 | ||
140 | Inspired by vundle, antigen can pull oh-my-zsh style plugins from various github | 140 | Inspired by vundle, antigen can pull oh-my-zsh style plugins from various github |
141 | repositories. You are not limited to use plugins from the oh-my-zsh repository | 141 | repositories. You are not limited to use plugins from the oh-my-zsh repository |
142 | only and you don't need to maintain your own fork and pull from upstream every | 142 | only and you don't need to maintain your own fork and pull from upstream every |
143 | now and then. I actually encourage you to grab plugins and scripts from various | 143 | now and then. I actually encourage you to grab plugins and scripts from various |
144 | sources, straight from the authors, before they even submit it to oh-my-zsh as a | 144 | sources, straight from the authors, before they even submit it to oh-my-zsh as a |
145 | pull request. | 145 | pull request. |
146 | 146 | ||
147 | Antigen also lets you switch the prompt theme with one command, just like that | 147 | Antigen also lets you switch the prompt theme with one command, just like that |
148 | 148 | ||
149 | bundle-theme candy | 149 | bundle-theme candy |
150 | 150 | ||
151 | and your prompt is changed, just for this session of course (unless you put this | 151 | and your prompt is changed, just for this session of course (unless you put this |
152 | line in your `.zshrc`). | 152 | line in your `.zshrc`). |
153 | 153 | ||
154 | ## Commands | 154 | ## Commands |
155 | 155 | ||
156 | The following are the commands provided by antigen. Note that the `-` in the | 156 | The following are the commands provided by antigen. Note that the `-` in the |
157 | following commands can be replaced with a space. You can write `antigen-bundle | 157 | following commands can be replaced with a space. You can write `antigen-bundle |
158 | ...` as `antigen bundle ...` and get away with it. For more details see the help | 158 | ...` as `antigen bundle ...` and get away with it. For more details see the help |
159 | on `antigen` command further down in this section. | 159 | on `antigen` command further down in this section. |
160 | 160 | ||
161 | ### antigen-bundle | 161 | ### antigen-bundle |
162 | 162 | ||
163 | This command tells antigen to install (if not already installed) and load the | 163 | This command tells antigen to install (if not already installed) and load the |
164 | given plugin. The simplest usage follows the following syntax. | 164 | given plugin. The simplest usage follows the following syntax. |
165 | 165 | ||
166 | antigen-bundle <plugin-name> | 166 | antigen-bundle <plugin-name> |
167 | 167 | ||
168 | This will install and load the `plugins/<name>` directory from [robbyrussell's | 168 | This will install and load the `plugins/<name>` directory from [robbyrussell's |
169 | oh-my-zsh][oh-my-zsh] (can be changed by setting `ANTIGEN_DEFAULT_REPO_URL`). | 169 | oh-my-zsh][oh-my-zsh] (can be changed by setting `ANTIGEN_DEFAULT_REPO_URL`). |
170 | 170 | ||
171 | However, the above is just syntax sugar for the extended syntax of the | 171 | However, the above is just syntax sugar for the extended syntax of the |
172 | `antigen-bundle` command. | 172 | `antigen-bundle` command. |
173 | 173 | ||
174 | antigen-bundle [<url> [<loc>]] | 174 | antigen-bundle [<url> [<loc>]] |
175 | 175 | ||
176 | where `<url>` is the repository url and it defaults to [robbyrussell's | 176 | where `<url>` is the repository url and it defaults to [robbyrussell's |
177 | oh-my-zsh][oh-my-zsh] repo (can be changed by setting `ANTIGEN_DEFAULT_REPO_URL` | 177 | oh-my-zsh][oh-my-zsh] repo (can be changed by setting `ANTIGEN_DEFAULT_REPO_URL` |
178 | discussed further down). `<loc>` is the path under this repository which has the | 178 | discussed further down). `<loc>` is the path under this repository which has the |
179 | zsh plugin. This is typically the directory that contains a `*.plugin.zsh` file, | 179 | zsh plugin. This is typically the directory that contains a `*.plugin.zsh` file, |
180 | but it could contain a completion file or just many `*.zsh` files to be sourced. | 180 | but it could contain a completion file or just many `*.zsh` files to be sourced. |
181 | `<loc>` defaults to `/`, which indicates the repository itself is a plugin. | 181 | `<loc>` defaults to `/`, which indicates the repository itself is a plugin. |
182 | 182 | ||
183 | An example invocation would be | 183 | An example invocation would be |
184 | 184 | ||
185 | # The following is the same as `antigen-bundle ant`. But for demonstration | 185 | # The following is the same as `antigen-bundle ant`. But for demonstration |
186 | # purposes, we use the extended syntax here. | 186 | # purposes, we use the extended syntax here. |
187 | antigen-bundle https://github.com/robbyrussell/oh-my-zsh.git plugins/ant | 187 | antigen-bundle https://github.com/robbyrussell/oh-my-zsh.git plugins/ant |
188 | 188 | ||
189 | This would install the ant plugin from robbyrussell's oh-my-zsh repo. Of course, | 189 | This would install the ant plugin from robbyrussell's oh-my-zsh repo. Of course, |
190 | github url's can be shortened. | 190 | github url's can be shortened. |
191 | 191 | ||
192 | antigen-bundle robbyrussell/oh-my-zsh plugins/ant | 192 | antigen-bundle robbyrussell/oh-my-zsh plugins/ant |
193 | 193 | ||
194 | And since this repo is the default, even that isn't necessary. But we can't | 194 | And since this repo is the default, even that isn't necessary. But we can't |
195 | specify the `loc` without giving the first argument. | 195 | specify the `loc` without giving the first argument. |
196 | 196 | ||
197 | For this and a few other reasons, `antigen-bundle` also supports a simple | 197 | For this and a few other reasons, `antigen-bundle` also supports a simple |
198 | keyword argument syntax, using which we can rewrite the above as | 198 | keyword argument syntax, using which we can rewrite the above as |
199 | 199 | ||
200 | antigen-bundle --loc=plugins/ant | 200 | antigen-bundle --loc=plugins/ant |
201 | 201 | ||
202 | Which picks up the default for the `url` argument, and uses the `loc` given to | 202 | Which picks up the default for the `url` argument, and uses the `loc` given to |
203 | it. | 203 | it. |
204 | 204 | ||
205 | *Note* that you can mix and match positional and keyword arguments. But you | 205 | *Note* that you can mix and match positional and keyword arguments. But you |
206 | can't have positional arguments after keyword arguments. | 206 | can't have positional arguments after keyword arguments. |
207 | 207 | ||
208 | antigen-bundle robbyrussell/oh-my-zsh --loc=plugins/ant | 208 | antigen-bundle robbyrussell/oh-my-zsh --loc=plugins/ant |
209 | 209 | ||
210 | And keyword arguments don't care about the order in which the arguments are | 210 | And keyword arguments don't care about the order in which the arguments are |
211 | specified. The following is perfectly valid. | 211 | specified. The following is perfectly valid. |
212 | 212 | ||
213 | antigen-bundle --loc=plugins/ant --url=robbyrussell/oh-my-zsh | 213 | antigen-bundle --loc=plugins/ant --url=robbyrussell/oh-my-zsh |
214 | 214 | ||
215 | You can also specify a local directory on your file system as a bundle. In this | 215 | You can also specify a local directory on your file system as a bundle. In this |
216 | case, make sure the path you give is the absolute path (i.e., starts with a | 216 | case, make sure the path you give is the absolute path (i.e., starts with a |
217 | `/`). Relative paths are not supported. If the repo you gave is a local | 217 | `/`). Relative paths are not supported. If the repo you gave is a local |
218 | directory path, then it is not necessary that this path is a git repo. Please | 218 | directory path, then it is not necessary that this path is a git repo. Please |
219 | refer to the notes on `--no-local-clone` below. | 219 | refer to the notes on `--no-local-clone` below. |
220 | 220 | ||
221 | This command can also be used from your shell environment. This allows you to | 221 | This command can also be used from your shell environment. This allows you to |
222 | install plugins on the fly and try them out. Of course if you want a bundle to | 222 | install plugins on the fly and try them out. Of course if you want a bundle to |
223 | be available every time you open a shell, put it in your `.zshrc`. | 223 | be available every time you open a shell, put it in your `.zshrc`. |
224 | 224 | ||
225 | Other keyword-only arguments accepted: | 225 | Other keyword-only arguments accepted: |
226 | 226 | ||
227 | `--branch={git-branch-name}` — Specify the branch of the git repo to be | 227 | `--branch={git-branch-name}` — Specify the branch of the git repo to be |
228 | used for this bundle (without the braces of course). The default is whatever | 228 | used for this bundle (without the braces of course). The default is whatever |
229 | branch the clone comes with, which is usually `master`. For example, | 229 | branch the clone comes with, which is usually `master`. For example, |
230 | 230 | ||
231 | antigen-bundle github-user/repo --branch=develop | 231 | antigen-bundle github-user/repo --branch=develop |
232 | 232 | ||
233 | This will get the plugin as in the branch `develop`. | 233 | This will get the plugin as in the branch `develop`. |
234 | 234 | ||
235 | Note that if you specify two plugins to be loaded from the same git repo, but | 235 | Note that if you specify two plugins to be loaded from the same git repo, but |
236 | different branches, then two separate clones of this repo will be maintained. | 236 | different branches, then two separate clones of this repo will be maintained. |
237 | This is a small implementation detail and shouldn't influence you in any way. | 237 | This is a small implementation detail and shouldn't influence you in any way. |
238 | 238 | ||
239 | `--no-local-clone` — This command can be useful if you are developing a | 239 | `--no-local-clone` — This command can be useful if you are developing a |
240 | plugin and already have a clone on your local file system. If this argument is | 240 | plugin and already have a clone on your local file system. If this argument is |
241 | not given, even if the given repo url is a local path, a clone is made in the | 241 | not given, even if the given repo url is a local path, a clone is made in the |
242 | `$ADOTDIR/repos`, and the plugin is loaded from that clone. But, if you give | 242 | `$ADOTDIR/repos`, and the plugin is loaded from that clone. But, if you give |
243 | this argument, the plugin is sourced straight from the repo location, without | 243 | this argument, the plugin is sourced straight from the repo location, without |
244 | creating a clone. For example, | 244 | creating a clone. For example, |
245 | 245 | ||
246 | antigen-bundle /absolute/path/to/the/plugin --no-local-clone | 246 | antigen-bundle /absolute/path/to/the/plugin --no-local-clone |
247 | 247 | ||
248 | Note that if the repo url is *not* an absolute local path or a branch has been | 248 | Note that if the repo url is *not* an absolute local path or a branch has been |
249 | specified with the `--branch` option, this argument has no effect. That is, | 249 | specified with the `--branch` option, this argument has no effect. That is, |
250 | for this option to have any affect, the repo url must be an absolute local path | 250 | for this option to have any affect, the repo url must be an absolute local path |
251 | and no `--branch` should be specified. | 251 | and no `--branch` should be specified. |
252 | 252 | ||
253 | Also, if the local path given as the url is not a git repo, then this | 253 | Also, if the local path given as the url is not a git repo, then this |
254 | argument is forced as it doesn't makes sense to *clone* something that's not a | 254 | argument is forced as it doesn't makes sense to *clone* something that's not a |
255 | git repo. This property can be used to load any utility scripts you have in your | 255 | git repo. This property can be used to load any utility scripts you have in your |
256 | dotfiles repo. For example, | 256 | dotfiles repo. For example, |
257 | 257 | ||
258 | antigen-bundle $HOME/dotfiles/oh-my-zsh/custom | 258 | antigen-bundle $HOME/dotfiles/oh-my-zsh/custom |
259 | 259 | ||
260 | In addition to the above discussed arguments, `antigen-bundle` also takes a | 260 | In addition to the above discussed arguments, `antigen-bundle` also takes a |
261 | `btype` keyword-only argument, that is used internally. You shouldn't be | 261 | `btype` keyword-only argument, that is used internally. You shouldn't be |
262 | concerned with this argument, its only used internally and will probably go away | 262 | concerned with this argument, its only used internally and will probably go away |
263 | in the future. It indicates whether the bundle is a theme or a simple plugin. | 263 | in the future. It indicates whether the bundle is a theme or a simple plugin. |
264 | 264 | ||
265 | ### antigen-bundles | 265 | ### antigen-bundles |
266 | 266 | ||
267 | If you have a fair number of bundles, using the `antigen-bundle` command can | 267 | If you have a fair number of bundles, using the `antigen-bundle` command can |
268 | look cumbersome. You can use the `antigen-bundles` command to *bulk* define | 268 | look cumbersome. You can use the `antigen-bundles` command to *bulk* define |
269 | bundles instead of individual calls to `antigen-bundle`. | 269 | bundles instead of individual calls to `antigen-bundle`. |
270 | 270 | ||
271 | Usage is pretty straightforward. Just pipe the bundle specifications, just as | 271 | Usage is pretty straightforward. Just pipe the bundle specifications, just as |
272 | you would give to the `antigen-bundle` command, one per line, into the | 272 | you would give to the `antigen-bundle` command, one per line, into the |
273 | `antigen-bundles` command. The easiest way to do this, is using the heredoc | 273 | `antigen-bundles` command. The easiest way to do this, is using the heredoc |
274 | syntax. | 274 | syntax. |
275 | 275 | ||
276 | antigen-bundles <<EOBUNDLES | 276 | antigen-bundles <<EOBUNDLES |
277 | # Guess what to install when running an unknown command. | 277 | # Guess what to install when running an unknown command. |
278 | command-not-found | 278 | command-not-found |
279 | 279 | ||
280 | # The heroku tool helper plugin. | 280 | # The heroku tool helper plugin. |
281 | heroku | 281 | heroku |
282 | 282 | ||
283 | EOBUNDLES | 283 | EOBUNDLES |
284 | 284 | ||
285 | This is equivalent to | 285 | This is equivalent to |
286 | 286 | ||
287 | antigen-bundle command-not-found | 287 | antigen-bundle command-not-found |
288 | antigen-bundle heroku | 288 | antigen-bundle heroku |
289 | 289 | ||
290 | Of course, as you can see, from the lines piped to `antigen-bundles`, empty | 290 | Of course, as you can see, from the lines piped to `antigen-bundles`, empty |
291 | lines and those starting with a `#` are ignored. The rest are passed to | 291 | lines and those starting with a `#` are ignored. The rest are passed to |
292 | `antigen-bundle` without any quoting rules applied. They are actually `eval`-ed | 292 | `antigen-bundle` without any quoting rules applied. They are actually `eval`-ed |
293 | with the `antigen-bundle` command. See the source if you want to really | 293 | with the `antigen-bundle` command. See the source if you want to really |
294 | understand how it works. Its a very small function. | 294 | understand how it works. Its a very small function. |
295 | 295 | ||
296 | ### antigen-update | 296 | ### antigen-update |
297 | 297 | ||
298 | This is something you might not want to put in your `.zshrc`. Instead, run it | 298 | This is something you might not want to put in your `.zshrc`. Instead, run it |
299 | occasionally to update all your plugins. It doesn't take any arguments. | 299 | occasionally to update all your plugins. It doesn't take any arguments. |
300 | 300 | ||
301 | antigen-update | 301 | antigen-update |
302 | 302 | ||
303 | Please note that the updates that are downloaded are not immediately available. | 303 | Please note that the updates that are downloaded are not immediately available. |
304 | You have to open a new shell to be able to see the changes. This is a limitation | 304 | You have to open a new shell to be able to see the changes. This is a limitation |
305 | by design since reloading all the plugins *might* have some nasty side effects | 305 | by design since reloading all the plugins *might* have some nasty side effects |
306 | that may not be immediately apparent. Let's just say it can make your shell act | 306 | that may not be immediately apparent. Let's just say it can make your shell act |
307 | real quirky. | 307 | real quirky. |
308 | 308 | ||
309 | **Please note**: This command is not for updating *antigen* itself. Its for | 309 | **Please note**: This command is not for updating *antigen* itself. Its for |
310 | updating the bundles you are using with antigen. | 310 | updating the bundles you are using with antigen. |
311 | 311 | ||
312 | ### antigen-revert <sup>α</sup> | 312 | ### antigen-revert <sup>α</sup> |
313 | 313 | ||
314 | Reverts the state of all your plugins to how they were before the last | 314 | Reverts the state of all your plugins to how they were before the last |
315 | `antigen-update`. This command is currently experimental, so don't rely too much | 315 | `antigen-update`. This command is currently experimental, so don't rely too much |
316 | on it. There is a test for it, and it passes, so it should work fine though. | 316 | on it. There is a test for it, and it passes, so it should work fine though. |
317 | 317 | ||
318 | Takes no options. | 318 | Takes no options. |
319 | 319 | ||
320 | Insider detail: The information for reverting is stored in | 320 | Insider detail: The information for reverting is stored in |
321 | `$ADOTDIR/revert-info` file. If its not present, reverting is not possible. | 321 | `$ADOTDIR/revert-info` file. If its not present, reverting is not possible. |
322 | 322 | ||
323 | ### antigen-list | 323 | ### antigen-list |
324 | 324 | ||
325 | Use this command to list out the currently *loaded* plugins. Keep in mind that | 325 | Use this command to list out the currently *loaded* plugins. Keep in mind that |
326 | this includes any bundles installed on-the-fly. | 326 | this includes any bundles installed on-the-fly. |
327 | 327 | ||
328 | Takes no arguments. Gives out four entries per line of output, denoting the | 328 | Takes no arguments. Gives out four entries per line of output, denoting the |
329 | following fields of each bundle. | 329 | following fields of each bundle. |
330 | 330 | ||
331 | <repo-url> <loc> <btype> <has-local-clone?> | 331 | <repo-url> <loc> <btype> <has-local-clone?> |
332 | 332 | ||
333 | The `btype` field is an internal detail, that specifies if the bundle is a | 333 | The `btype` field is an internal detail, that specifies if the bundle is a |
334 | `plugin` or a `theme`. | 334 | `plugin` or a `theme`. |
335 | 335 | ||
336 | The final field is `true` or `false` reflecting whether there is a local clone | 336 | The final field is `true` or `false` reflecting whether there is a local clone |
337 | for this bundle. | 337 | for this bundle. |
338 | 338 | ||
339 | ### antigen-cleanup | 339 | ### antigen-cleanup |
340 | 340 | ||
341 | Used to clean up the clones of repos which are not used by any plugins currently | 341 | Used to clean up the clones of repos which are not used by any plugins currently |
342 | loaded. It takes no arguments. When run, it lists out the repo-clones that are | 342 | loaded. It takes no arguments. When run, it lists out the repo-clones that are |
343 | available but are not used by any plugin *currently loaded*. | 343 | available but are not used by any plugin *currently loaded*. |
344 | 344 | ||
345 | This command, by default asks for confirmation before deleting the unused | 345 | This command, by default asks for confirmation before deleting the unused |
346 | clones. If the `--force` argument is given, then this confirmation is not asked. | 346 | clones. If the `--force` argument is given, then this confirmation is not asked. |
347 | It straight away deletes all the unused clones. This option makes this command | 347 | It straight away deletes all the unused clones. This option makes this command |
348 | usable in a non-interactive fashion. | 348 | usable in a non-interactive fashion. |
349 | 349 | ||
350 | ### antigen-lib | 350 | ### antigen-lib |
351 | 351 | ||
352 | This is a shortcut to | 352 | This is a shortcut to |
353 | 353 | ||
354 | antigen-bundle --loc=lib | 354 | antigen-bundle --loc=lib |
355 | 355 | ||
356 | So, it basically installs the oh-my-zsh's library as a bundle. | 356 | So, it basically installs the oh-my-zsh's library as a bundle. |
357 | 357 | ||
358 | Please note that this assumes that the `ANTIGEN_DEFAULT_REPO_URL` is set to the | 358 | Please note that this assumes that the `ANTIGEN_DEFAULT_REPO_URL` is set to the |
359 | oh-my-zsh repo or a fork of that repo. If you want to specify the `url` too, | 359 | oh-my-zsh repo or a fork of that repo. If you want to specify the `url` too, |
360 | then you can't use the `antigen-lib` short cut. You have to do that directly | 360 | then you can't use the `antigen-lib` short cut. You have to do that directly |
361 | with the `antigen-bundle` command. | 361 | with the `antigen-bundle` command. |
362 | 362 | ||
363 | This is present only for legacy reasons and *might* (or might not) be removed in | 363 | This is present only for legacy reasons and *might* (or might not) be removed in |
364 | the future. | 364 | the future. |
365 | 365 | ||
366 | Use | 366 | Use |
367 | 367 | ||
368 | antigen-lib | 368 | antigen-lib |
369 | 369 | ||
370 | in your `.zshrc`, before any `antigen-bundle` declarations. It takes no | 370 | in your `.zshrc`, before any `antigen-bundle` declarations. It takes no |
371 | arguments. | 371 | arguments. |
372 | 372 | ||
373 | ### antigen-prezto-lib <sup>α</sup> | ||
374 | |||
375 | This is (almost, but not quite) the same as doing, | ||
376 | |||
377 | antigen-bundle sorin-ionescu/prezto | ||
378 | |||
379 | That is, initializes the canonical repo of the prezto framework. Please note | ||
380 | that prezto support is very new and experimental in antigen. If you find any | ||
381 | bugs, please report over on github issues. | ||
382 | |||
373 | ### antigen-theme | 383 | ### antigen-theme |
374 | 384 | ||
375 | Used for switching the prompt theme. Invoke it with the name of the theme you | 385 | Used for switching the prompt theme. Invoke it with the name of the theme you |
376 | want to use. | 386 | want to use. |
377 | 387 | ||
378 | antigen-theme fox | 388 | antigen-theme fox |
379 | 389 | ||
380 | This will get the theme file located at `themes/fox.zsh-theme` in the repo | 390 | This will get the theme file located at `themes/fox.zsh-theme` in the repo |
381 | specified by `ANTIGEN_DEFAULT_REPO_URL`. | 391 | specified by `ANTIGEN_DEFAULT_REPO_URL`. |
382 | 392 | ||
383 | To pull themes from other repositories, use `antigen-theme` just like | 393 | To pull themes from other repositories, use `antigen-theme` just like |
384 | `antigen-bundle`. Exactly the same, just make sure the `url` and `loc` | 394 | `antigen-bundle`. Exactly the same, just make sure the `url` and `loc` |
385 | combination point to a theme file, having a `.zsh-theme` extension. | 395 | combination point to a theme file, having a `.zsh-theme` extension. |
386 | 396 | ||
387 | For example, | 397 | For example, |
388 | 398 | ||
389 | antigen-theme robbyrussell/oh-my-zsh themes/apple | 399 | antigen-theme robbyrussell/oh-my-zsh themes/apple |
390 | 400 | ||
391 | Will pull the apple theme from the canonical oh-my-zsh repo. Also, note that the | 401 | Will pull the apple theme from the canonical oh-my-zsh repo. Also, note that the |
392 | `.zsh-theme` extension is not present. It can be given, its optional. | 402 | `.zsh-theme` extension is not present. It can be given, its optional. |
393 | 403 | ||
394 | You can use this command to change your theme on the fly in your shell. Go on, | 404 | You can use this command to change your theme on the fly in your shell. Go on, |
395 | try out a few themes in your shell before you set it in your `.zshrc`. | 405 | try out a few themes in your shell before you set it in your `.zshrc`. |
396 | 406 | ||
397 | **Note**: Some themes use functions that are loaded by `antigen-lib`. So, to | 407 | **Note**: Some themes use functions that are loaded by `antigen-lib`. So, to |
398 | avoid any trouble, run `antigen-lib` if you haven't already before experimenting | 408 | avoid any trouble, run `antigen-lib` if you haven't already before experimenting |
399 | with themes. If you have `antigen-lib` in your `.zshrc`, you're covered. | 409 | with themes. If you have `antigen-lib` in your `.zshrc`, you're covered. |
400 | 410 | ||
401 | **Note**: Do *not* provide the `--btype` argument to `antigen-theme`. Its an | 411 | **Note**: Do *not* provide the `--btype` argument to `antigen-theme`. Its an |
402 | internal argument. | 412 | internal argument. |
403 | 413 | ||
404 | ### antigen-apply | 414 | ### antigen-apply |
405 | 415 | ||
406 | You have to add this command after defining all bundles you need, in your zshrc. | 416 | You have to add this command after defining all bundles you need, in your zshrc. |
407 | The completions defined by your bundles will be loaded at this step. | 417 | The completions defined by your bundles will be loaded at this step. |
408 | 418 | ||
409 | It is possible to load completions as and when a bundle is specified with the | 419 | It is possible to load completions as and when a bundle is specified with the |
410 | bundle command, in which case this command would not be necessary. But loading | 420 | bundle command, in which case this command would not be necessary. But loading |
411 | the completions is a time-consuming process, so if the completions were loaded | 421 | the completions is a time-consuming process, so if the completions were loaded |
412 | at every call to `antigen-bundle`, your shell will start noticeably slow when | 422 | at every call to `antigen-bundle`, your shell will start noticeably slow when |
413 | you have a good number of bundle specifications. | 423 | you have a good number of bundle specifications. |
414 | 424 | ||
415 | However, if you can suggest a way so that this would not be necessary, I am very | 425 | However, if you can suggest a way so that this would not be necessary, I am very |
416 | interested in discussing it. Please open up an issue with your details. Thanks. | 426 | interested in discussing it. Please open up an issue with your details. Thanks. |
417 | 427 | ||
418 | ### antigen-snapshot <sup>α</sup> | 428 | ### antigen-snapshot <sup>α</sup> |
419 | 429 | ||
420 | Creates a snapshot of all the clones you currently have *active* including the | 430 | Creates a snapshot of all the clones you currently have *active* including the |
421 | git version hash they are at and save it to a snapshot file. *Active* means, the | 431 | git version hash they are at and save it to a snapshot file. *Active* means, the |
422 | clones for those listed by `antigen-cleanup` are not included in the snapshot. | 432 | clones for those listed by `antigen-cleanup` are not included in the snapshot. |
423 | 433 | ||
424 | Takes one optional argument, the file name in which the snapshot is to be saved. | 434 | Takes one optional argument, the file name in which the snapshot is to be saved. |
425 | Defaults to `antigen-snapshot`. | 435 | Defaults to `antigen-snapshot`. |
426 | 436 | ||
427 | **Note**: The snapshot currently *only* contains the details of those bundles | 437 | **Note**: The snapshot currently *only* contains the details of those bundles |
428 | that have a clone. That is, bundles that have `--no-local-clone` set or are | 438 | that have a clone. That is, bundles that have `--no-local-clone` set or are |
429 | directly sourced from your file system (without a git repo), are not recorded | 439 | directly sourced from your file system (without a git repo), are not recorded |
430 | in the snapshot file. | 440 | in the snapshot file. |
431 | 441 | ||
432 | ### antigen-restore <sup>α</sup> | 442 | ### antigen-restore <sup>α</sup> |
433 | 443 | ||
434 | Restore the bundles state as specified in the snapshot. Takes one required | 444 | Restore the bundles state as specified in the snapshot. Takes one required |
435 | argument, the snapshot file name to read. | 445 | argument, the snapshot file name to read. |
436 | 446 | ||
437 | Although it restores the clones of the repos specified in the snapshot file, any | 447 | Although it restores the clones of the repos specified in the snapshot file, any |
438 | other clones present in your environment are not touched. This behavior may | 448 | other clones present in your environment are not touched. This behavior may |
439 | change in the future. | 449 | change in the future. |
440 | 450 | ||
441 | ### antigen-help | 451 | ### antigen-help |
442 | 452 | ||
443 | This exists so that there can be some help right in the command line. Currently | 453 | This exists so that there can be some help right in the command line. Currently |
444 | it doesn't provide much help other than redirecting you to the project page for | 454 | it doesn't provide much help other than redirecting you to the project page for |
445 | documentation. It is intended to provide more meaning and sub-command specific | 455 | documentation. It is intended to provide more meaning and sub-command specific |
446 | help in the future. | 456 | help in the future. |
447 | 457 | ||
448 | I could use some help here as I'm not that good at writing documentation that | 458 | I could use some help here as I'm not that good at writing documentation that |
449 | looks good as output on the command line. | 459 | looks good as output on the command line. |
450 | 460 | ||
451 | ### antigen | 461 | ### antigen |
452 | 462 | ||
453 | This is a parent command that mainly exists for convenience. This exists so the | 463 | This is a parent command that mainly exists for convenience. This exists so the |
454 | following two can be the same. | 464 | following two can be the same. |
455 | 465 | ||
456 | antigen-list | 466 | antigen-list |
457 | antigen list | 467 | antigen list |
458 | 468 | ||
459 | and | 469 | and |
460 | 470 | ||
461 | antigen-help | 471 | antigen-help |
462 | antigen help | 472 | antigen help |
463 | 473 | ||
464 | Because of this, we can create aliases like | 474 | Because of this, we can create aliases like |
465 | 475 | ||
466 | alias a=antigen | 476 | alias a=antigen |
467 | alias an=antigen | 477 | alias an=antigen |
468 | 478 | ||
469 | and run the antigen commands without making them look annoyingly long. | 479 | and run the antigen commands without making them look annoyingly long. |
470 | 480 | ||
471 | a bundle ruby | 481 | a bundle ruby |
472 | a theme candy | 482 | a theme candy |
473 | a list | 483 | a list |
474 | 484 | ||
475 | And even... | 485 | And even... |
476 | 486 | ||
477 | an update | 487 | an update |
478 | 488 | ||
479 | ## Configuration | 489 | ## Configuration |
480 | 490 | ||
481 | The following environment variables can be set to customize the behavior of | 491 | The following environment variables can be set to customize the behavior of |
482 | antigen. Make sure you set them *before* source-ing `antigen.zsh`. | 492 | antigen. Make sure you set them *before* source-ing `antigen.zsh`. |
483 | 493 | ||
484 | `ANTIGEN_DEFAULT_REPO_URL` — This is the default repository url that is | 494 | `ANTIGEN_DEFAULT_REPO_URL` — This is the default repository url that is |
485 | used for `bundle` commands. The default value is robbyrussell's oh-my-zsh repo, | 495 | used for `bundle` commands. The default value is robbyrussell's oh-my-zsh repo, |
486 | but you can set this to the fork url of your own fork. | 496 | but you can set this to the fork url of your own fork. |
487 | 497 | ||
488 | `ADOTDIR` — This directory is used to store all the repo clones, your | 498 | `ADOTDIR` — This directory is used to store all the repo clones, your |
489 | bundles, themes, caches and everything else antigen requires to run smoothly. | 499 | bundles, themes, caches and everything else antigen requires to run smoothly. |
490 | Defaults to `$HOME/.antigen`. | 500 | Defaults to `$HOME/.antigen`. |
491 | 501 | ||
492 | **Note**: `ANTIGEN_REPO_CACHE` & `ANTIGEN_BUNDLE_DIR` — These variables | 502 | **Note**: `ANTIGEN_REPO_CACHE` & `ANTIGEN_BUNDLE_DIR` — These variables |
493 | were used previously but are now removed. Please use `ADOTDIR` instead, as | 503 | were used previously but are now removed. Please use `ADOTDIR` instead, as |
494 | mentioned above. | 504 | mentioned above. |
495 | 505 | ||
496 | ## Running the tests | 506 | ## Running the tests |
497 | 507 | ||
498 | All the tests are in the `tests` folder and are run using the [cram][] test | 508 | All the tests are in the `tests` folder and are run using the [cram][] test |
499 | system. The latest version on that website, as of today is v0.5, which does not | 509 | system. The latest version on that website, as of today is v0.5, which does not |
500 | have the `--shell` argument which is required to run our tests. So, to get the | 510 | have the `--shell` argument which is required to run our tests. So, to get the |
501 | correct version of cram, run | 511 | correct version of cram, run |
502 | 512 | ||
503 | pip install -r requirements.txt | 513 | pip install -r requirements.txt |
504 | 514 | ||
505 | With that, once you have cram installed, you can run the tests as | 515 | With that, once you have cram installed, you can run the tests as |
506 | 516 | ||
507 | make | 517 | make |
508 | 518 | ||
509 | If you are making a feature addition, I'd really appreciate if you can add a | 519 | If you are making a feature addition, I'd really appreciate if you can add a |
510 | test for your feature. Even if you can add a test for an existing feature, that | 520 | test for your feature. Even if you can add a test for an existing feature, that |
511 | would be great as the tests are currently seriously lagging behind the full | 521 | would be great as the tests are currently seriously lagging behind the full |
512 | functionality of antigen. | 522 | functionality of antigen. |
513 | 523 | ||
514 | ## Notes on writing plugins | 524 | ## Notes on writing plugins |
515 | 525 | ||
516 | Most shell utilities/plugins are made up of just one file. For a plugin called | 526 | Most shell utilities/plugins are made up of just one file. For a plugin called |
517 | `awesomeness`, create a `awesomeness.plugin.zsh` and code away. | 527 | `awesomeness`, create a `awesomeness.plugin.zsh` and code away. |
518 | 528 | ||
519 | That said, even if you write a single file as a `.sh` file with the goodness you | 529 | That said, even if you write a single file as a `.sh` file with the goodness you |
520 | want to create, antigen will work just fine with it. The `*.plugin.zsh` way is | 530 | want to create, antigen will work just fine with it. The `*.plugin.zsh` way is |
521 | recommended by antigen, because it is widely used because of the [oh-my-zsh][] | 531 | recommended by antigen, because it is widely used because of the [oh-my-zsh][] |
522 | project. | 532 | project. |
523 | 533 | ||
524 | If you want to know how antigen loads the plugins, do continue. | 534 | If you want to know how antigen loads the plugins, do continue. |
525 | 535 | ||
526 | Firstly, antigen looks for a `*.plugin.zsh` file in the plugin directory. If | 536 | Firstly, antigen looks for a `*.plugin.zsh` file in the plugin directory. If |
527 | present, it will source *only* this script. Nothing else is sourced. | 537 | present, it will source *only* this script. Nothing else is sourced. This is for |
538 | oh-my-zsh style plugins. | ||
539 | |||
540 | Secondly, it looks for a `init.zsh` file in the plugin directory. If present, it | ||
541 | will source *only* this script. Nothing else is sourced. This is for prezto | ||
542 | style modules. | ||
528 | 543 | ||
529 | Otherwise, it looks for `*.zsh` files and if there are any, *all* of them are | 544 | Otherwise, it looks for `*.zsh` files and if there are any, *all* of them are |
530 | sourced. The order in which they are sourced is not currently defined. Please | 545 | sourced. The order in which they are sourced is not currently defined. Please |
531 | don't rely on this order. Nothing else is sourced after all the `*.zsh` scripts. | 546 | don't rely on this order. Nothing else is sourced after all the `*.zsh` scripts. |
532 | 547 | ||
533 | If no `*.zsh` files are present, it finally looks for any `*.sh` files and | 548 | If no `*.zsh` files are present, it finally looks for any `*.sh` files and |
534 | sources *all* of them. Again, the order in which they are sourced in not | 549 | sources *all* of them. Again, the order in which they are sourced in not |
535 | currently defined. | 550 | currently defined. |
536 | 551 | ||
537 | No matter which (or none) of the above happen to be sourced, this plugin | 552 | No matter which (or none) of the above happen to be sourced, this plugin |
538 | directory is added to the zsh's function path (`$fpath`) so that any completions | 553 | directory is added to the zsh's function path (`$fpath`) so that any completions |
539 | in it are loaded. | 554 | in it are loaded. |
540 | 555 | ||
541 | One exception to this rule is that if this plugin is a theme. In which case the | 556 | One exception to this rule is that if this plugin is a theme. In which case the |
542 | theme script is just sourced and nothing else is done. Not even adding to | 557 | theme script is just sourced and nothing else is done. Not even adding to |
543 | `$fpath`. | 558 | `$fpath`. |
544 | 559 | ||
545 | ## Meta | 560 | ## Meta |
546 | 561 | ||
547 | ### Helping out | 562 | ### Helping out |
548 | 563 | ||
549 | Antigen is licensed with the [MIT License][license]. To contribute, just fork, | 564 | Antigen is licensed with the [MIT License][license]. To contribute, just fork, |
550 | make changes and send a pull request. If its a rather long/complicated change, | 565 | make changes and send a pull request. If its a rather long/complicated change, |
551 | please consider opening an [issue][] first so we can discuss it out. | 566 | please consider opening an [issue][] first so we can discuss it out. |
552 | 567 | ||
553 | ### Feedback please | 568 | ### Feedback please |
554 | 569 | ||
555 | Any comments/suggestions/feedback welcome. Please say hello to me | 570 | Any comments/suggestions/feedback welcome. Please say hello to me |
556 | ([@sharat87][twitter]) on twitter. Or open an issue to discuss something | 571 | ([@sharat87][twitter]) on twitter. Or open an issue to discuss something |
557 | (anything!) about the project ;). | 572 | (anything!) about the project ;). |
558 | 573 | ||
559 | 574 | ||
560 | [Vundle]: https://github.com/gmarik/vundle | 575 | [Vundle]: https://github.com/gmarik/vundle |
561 | [page on themes]: https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | 576 | [page on themes]: https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
562 | [syntax highlighting plugin]: https://github.com/zsh-users/zsh-syntax-highlighting | 577 | [syntax highlighting plugin]: https://github.com/zsh-users/zsh-syntax-highlighting |
563 | [autoenv]: https://github.com/kennethreitz/autoenv | 578 | [autoenv]: https://github.com/kennethreitz/autoenv |
564 | [oh-my-zsh]: https://github.com/robbyrussell/oh-my-zsh | 579 | [oh-my-zsh]: https://github.com/robbyrussell/oh-my-zsh |
565 | [cram]: https://bitheap.org/cram/ | 580 | [cram]: https://bitheap.org/cram/ |
566 | [issue]: https://github.com/zsh-users/antigen/issues | 581 | [issue]: https://github.com/zsh-users/antigen/issues |
567 | [license]: http://mit.sharats.me | 582 | [license]: http://mit.sharats.me |
568 | [twitter]: http://twitter.com/sharat87 | 583 | [twitter]: http://twitter.com/sharat87 |
569 | 584 |