Commit c17d243a69c4cc0f1d8f52837982c342eba9e5e6
1 parent
280ec44811
Removed unused load argumet to bundle command.
Showing 1 changed file with 1 additions and 5 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -15,7 +15,6 @@ bundle () { |
15 | 15 | local url="$ANTIGEN_DEFAULT_REPO_URL" |
16 | 16 | local loc=/ |
17 | 17 | local btype=plugin |
18 | - local load=true | |
19 | 18 | |
20 | 19 | # Set spec values based on the positional arguments. |
21 | 20 | local position_args='url loc' |
... | ... | @@ -56,10 +55,7 @@ bundle () { |
56 | 55 | # Add it to the record. |
57 | 56 | _ANTIGEN_BUNDLE_RECORD="$_ANTIGEN_BUNDLE_RECORD\n$url $loc $clone_dir $btype" |
58 | 57 | |
59 | - # Load it, unless specified otherwise. | |
60 | - if $load; then | |
61 | - bundle-load "$clone_dir/$loc" "$btype" | |
62 | - fi | |
58 | + bundle-load "$clone_dir/$loc" "$btype" | |
63 | 59 | } |
64 | 60 | |
65 | 61 | bundle-install () { |