Home

Awesome

download

Function to download files via URL using aria2c.

Usage

download <URL> <CONNECTIONS:16>

E.g.:

download "https://github.com/aubreypwd/zsh-plugin-download/archive/master.zip"

Will download the master.zip file to your current working directory with aria2c. If you supply CONNECTIONS, e.g:

download "https://github.com/aubreypwd/zsh-plugin-download/archive/master.zip" 12

...it will download that file using 12 connections. The default connections is 16.

Requires

If you have https://github.com/aubreypwd/zsh-plugin-require and homebrew installed, we'll handle installing dependancies automatically.

Install

Using antigen:

antigen bundle aubreypwd/zsh-plugin-download@1.0.0

Development

Install the package on master:

antigen bundle ssh://git@github.com/aubreypwd/zsh-plugin-download

...and contribute upstream by working in $HOME/.antigen/bundles/aubreypwd/zsh-plugin-download.


Changelog

Changelog beyond these were moved to Github Releases.

1.0.1

1.0.0