config

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

commit 4c162c961896b6920cf9696066c5b8eea916ad99
parent e371bfddee630f242313e6d36d5c541c2e4af78a
Author: Jacob R. Edwards <n/a>
Date:   Sun,  4 Dec 2022 21:16:33 -0600

Fix script search ap script

There must be a reason, but stest is strange like that.

Diffstat:
Mlocal/bin/bin/ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/bin/bin/ap b/local/bin/bin/ap @@ -23,7 +23,7 @@ config="${XDG_CONFIG_HOME:-"$HOME"/.config}"/ap commands() { { - (cd "$config"/bin; find . -type f | stest -x | cut -c3-) + (cd "$config"/bin 2>/dev/null && find . -type f | cut -c3- | stest -x) apc commands } | sort -u }