Fix get command to follow redirects
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
0be93c3520
commit
07f3d361d1
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user