config

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

commit 4a8cd526ef495673278c64879cb7d3b360469482
parent 7e97e176019fb28339dfc1ac98b019ac59a2b110
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 21 Feb 2021 23:06:00 -0800

Fix pd shell function

With the -a flag pkg_delete doesn't actually remove packages, only
unused dependencies. I now remember making this same mistake awhile
ago.

Diffstat:
Mlocal/shell/.config/shell/openbsd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/shell/.config/shell/openbsd b/local/shell/.config/shell/openbsd @@ -5,7 +5,7 @@ load() sysctl -n vm.loadavg "$@" # package management pa() doas pkg_add "$@" -pd() doas pkg_delete -a "$@" +pd() doas pkg_delete "$@" pi() pkg_info "$@" pl() pkg_locate "${@:-.}" pq() { cut -d'|' -f1,4 /usr/local/share/ports-INDEX | tr '|' '\t' | egrep "${@:-.}"; }