From 31ba1b510189b30598f1cf86e9a01bd846a37b50 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 24 Aug 2024 03:32:54 +0300 Subject: [PATCH] Curl : Rename wcurl to dl to match vdl. --- home/program/bash/module/Curl.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -' -- ''${@} + } ''; }