diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-07-25 11:19:35 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-07-25 11:19:35 +0200 |
| commit | a6e1eab8647d5b09f1ccb1c03f31027b3628fca0 (patch) | |
| tree | 82723115a24b2b609dfdc14c46816615b078eea0 /install | |
| parent | e096c50387dc27e7624bfb8bcb76066207cb1c49 (diff) | |
| download | dotfiles-a6e1eab8647d5b09f1ccb1c03f31027b3628fca0.tar.gz dotfiles-a6e1eab8647d5b09f1ccb1c03f31027b3628fca0.tar.bz2 dotfiles-a6e1eab8647d5b09f1ccb1c03f31027b3628fca0.zip | |
Updated install script to download zsh plugins in parallel
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -70,9 +70,12 @@ update_zsh_plugin() } mkdir -p "$XDG_DATA_HOME/zsh" -update_zsh_plugin 'https://github.com/sindresorhus/pure' -update_zsh_plugin 'https://github.com/zsh-users/zsh-syntax-highlighting' -update_zsh_plugin 'https://github.com/MichaelAquilina/zsh-you-should-use' +update_zsh_plugin 'https://github.com/sindresorhus/pure' & pids="$pids $!" +update_zsh_plugin 'https://github.com/zsh-users/zsh-syntax-highlighting' & pids="$pids $!" +update_zsh_plugin 'https://github.com/MichaelAquilina/zsh-you-should-use' & pids="$pids $!" +# Parallel downloads are faster +# shellcheck disable=SC2086 +wait $pids ############################################################################### # crontab |
