diff --git a/home/program/bash/module/Curl.nix b/home/program/bash/module/Curl.nix index 289cc40d..509482e3 100644 --- a/home/program/bash/module/Curl.nix +++ b/home/program/bash/module/Curl.nix @@ -1,5 +1,9 @@ { ... }: { text = '' - alias wcurl="wcurl --curl-options='--progress-bar --http2 --continue-at -'" + # Download a file from the web. + # Usage: dl [FILES...] + function dl() { + wcurl --curl-options='--http2 --continue-at -' -- ''${@} + } ''; }