Move .curlrc to curl_t alias

Also add '#' as a first line of the output, to be ignored in shell
scripts etc.
This commit is contained in:
2018-11-23 19:14:52 +01:00
parent 1b68b75005
commit e0d734e714
2 changed files with 8 additions and 1 deletions
+8
View File
@@ -125,6 +125,14 @@ alias prepend-timestamp='gawk "{ print strftime(\"[%Y-%m-%d %H:%M:%S]\"), \$0; f
alias strace='strace -f -s 1024'
alias readelf='readelf -W'
alias youtube-dl='youtube-dl -f bestvideo+bestaudio'
alias curl_t='curl -w \
"# dnslookup: %{time_namelookup} | \
connect: %{time_connect} | \
appconnect: %{time_appconnect} | \
pretransfer: %{time_pretransfer} | \
starttransfer: %{time_starttransfer} | \
total: %{time_total} | \
size: %{size_download}\n"'
function ds() {
du -sh "$@" | sort -rh
-1
View File
@@ -1 +0,0 @@
-w "dnslookup: %{time_namelookup} | connect: %{time_connect} | appconnect: %{time_appconnect} | pretransfer: %{time_pretransfer} | starttransfer: %{time_starttransfer} | total: %{time_total} | size: %{size_download}\n"