From 5cc38f3ae8ab30461c2f60989f473dc5ad97e775 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Tue, 1 Sep 2026 14:29:34 -0400 Subject: [PATCH] bin: fix pbclear PATH issues --- bin/pbclear | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/pbclear b/bin/pbclear index 3333534..3134049 100755 --- a/bin/pbclear +++ b/bin/pbclear @@ -1,5 +1,9 @@ -#!/bin/sh +#!/usr/bin/env bash -cbclear +set -euo pipefail + +CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +"${CURDIR}/cbclear" osascript -e 'display notification "Clipboard cleared" with title "pbclear"'