config

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

commit 443c1cc42fddd45ae31cd234daa79fc7378c28f5
parent f29f6b7591f696cd31900ad2d208ea57582910e1
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Thu, 26 Nov 2020 16:49:59 -0800

Update `pq' shell function

Prefix the query with a wildcard (`*').

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

diff --git a/modules/shell/.config/shell/openbsd b/modules/shell/.config/shell/openbsd @@ -11,4 +11,4 @@ alias pd="doasroot pkg_delete" alias pi="pkg_info" alias pu="doasroot pkg_add -u" -pq() { pkglocate "${@}*" | cut -d: -f1 | uniq ;} +pq() { pkglocate "*${@}*" | cut -d: -f1 | uniq ;}