Function to download files via URL using aria2c
.
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
.
aria2c
*
If you have https://github.com/aubreypwd/zsh-plugin-require and homebrew installed, we'll handle installing dependancies automatically.
Using antigen:
antigen bundle aubreypwd/[email protected]
Install the package on master
:
antigen bundle ssh://[email protected]/aubreypwd/zsh-plugin-download
...and contribute upstream by working in $HOME/.antigen/bundles/aubreypwd/zsh-plugin-download
.
Changelog beyond these were moved to Github Releases.
- Do not open via
open
when done - Requirement command tests are now in function call
- First version