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"'