config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 60b79aa15f41904f9ad78d28bc9b3615a445400f
parent 4bc1d6e5e0b5368955d6c0940d80356b830a8386
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed, 24 Mar 2021 01:12:48 -0700

Add a shell function alias to a useful curl(1) command

The netget function only displays errors, follows redirects, and
writes to the basename(3) of the given URL. One issue it has is
that the previous two changes are only active on the first URL.

Diffstat:
Mlocal/shell/.config/shell/aliases | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/local/shell/.config/shell/aliases b/local/shell/.config/shell/aliases @@ -7,6 +7,7 @@ dsu() doas su "$@" fn() functions "$@" grep() egrep "$@" mtime() stat -t '%F %T' -f%Sm%t%N "$@" +netget() curl -SsLO "$@" pkill() command pkill -x "$@" sed() command sed -E "$@" spm() tspm "$@"