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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user