Commit 7af602daedb3bf2fbd48707131b65daa366f60a1
1 parent
382d920962
Minor comment editing.
Showing 1 changed file with 6 additions and 5 deletions Side-by-side Diff
antigen.zsh
| ... | ... | @@ -95,7 +95,7 @@ antigen-bundle () { |
| 95 | 95 | |
| 96 | 96 | local url="$1" |
| 97 | 97 | |
| 98 | - # Expand short github url syntax: `username/reponame` | |
| 98 | + # Expand short github url syntax: `username/reponame`. | |
| 99 | 99 | if [[ $url != git://* && \ |
| 100 | 100 | $url != https://* && \ |
| 101 | 101 | $url != /* && \ |
| ... | ... | @@ -211,6 +211,7 @@ antigen-update () { |
| 211 | 211 | fi |
| 212 | 212 | fi |
| 213 | 213 | |
| 214 | + # Remove the temporary git wrapper function. | |
| 214 | 215 | unfunction -- --plugin-git |
| 215 | 216 | |
| 216 | 217 | } |
| ... | ... | @@ -238,7 +239,7 @@ antigen-update () { |
| 238 | 239 | |
| 239 | 240 | else |
| 240 | 241 | |
| 241 | - # Source the plugin script | |
| 242 | + # Source the plugin script. | |
| 242 | 243 | # FIXME: I don't know. Looks very very ugly. Needs a better |
| 243 | 244 | # implementation once tests are ready. |
| 244 | 245 | local script_loc="$(ls "$location" | grep -m1 '\.plugin\.zsh$')" |
| ... | ... | @@ -333,7 +334,7 @@ antigen-apply () { |
| 333 | 334 | } |
| 334 | 335 | |
| 335 | 336 | antigen-list () { |
| 336 | - # List all currently installed bundles | |
| 337 | + # List all currently installed bundles. | |
| 337 | 338 | if [[ -z "$_ANTIGEN_BUNDLE_RECORD" ]]; then |
| 338 | 339 | echo "You don't have any bundles." >&2 |
| 339 | 340 | return 1 |
| ... | ... | @@ -365,12 +366,12 @@ antigen () { |
| 365 | 366 | } |
| 366 | 367 | |
| 367 | 368 | -antigen-env-setup () { |
| 368 | - # Pre-startup initializations | |
| 369 | + # Pre-startup initializations. | |
| 369 | 370 | -set-default ANTIGEN_DEFAULT_REPO_URL \ |
| 370 | 371 | https://github.com/robbyrussell/oh-my-zsh.git |
| 371 | 372 | -set-default ADOTDIR $HOME/.antigen |
| 372 | 373 | |
| 373 | - # Load the compinit module | |
| 374 | + # Load the compinit module. | |
| 374 | 375 | autoload -U compinit |
| 375 | 376 | |
| 376 | 377 | # Without the following, `compdef` function is not defined. |