commit cba42d47307006828d6c2432a8ea81377a8c7efb
parent 6cdf2ac5aac3f50fb32b9fa9e463c701d0f20c5e
Author: Jacob R. Edwards <n/a>
Date: Mon, 5 Dec 2022 14:06:04 -0600
Use walk instead of find in ap script
Since with find stest--a non-POSIX program--was needed anyway, might
as well replace it with walk as find is unpleasant.
Diffstat:
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 2>/dev/null && find . -type f | cut -c3- | stest -x)
+ (cd "$config"/bin 2>/dev/null && walk -x)
apc commands
} | sort -u
}