From 07f3d361d1ce17c3730e649dbb6090c0e330fe0e Mon Sep 17 00:00:00 2001 From: Jacob Kiers Date: Thu, 6 Jan 2022 19:29:04 +0100 Subject: [PATCH] Fix get command to follow redirects Signed-off-by: Jacob Kiers --- includes/bash_aliases.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/bash_aliases.bash b/includes/bash_aliases.bash index 02392cc..75a85cb 100644 --- a/includes/bash_aliases.bash +++ b/includes/bash_aliases.bash @@ -74,7 +74,7 @@ for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do done # Download file and save it with filename of remote file -alias get="curl -O" +alias get="curl -LO" # Convert line endings to UNIX # tr -d '\015'