commit 1e4e4b355cdc3a567fee56b3e0df9671d39a4bb0
parent 2acaaaa7c2ac9b7e9ad4da04e52ecf8e08244020
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Wed, 24 Mar 2021 01:57:56 -0700
Give curl(1) default flags using a shell function
With this curl(1) will only report errors, no progress reports and
such.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/local/shell/.config/shell/aliases b/local/shell/.config/shell/aliases
@@ -1,6 +1,7 @@
# simple shell functions
ap() apropos "$@"
+curl() command curl -sS "$@"
date() command date "${@:-+%F %T %z}"
doas() command doas -- "$@"
dsu() doas su "$@"