bin: fix pbclear PATH issues
This commit is contained in:
parent
2af1517726
commit
5cc38f3ae8
1 changed files with 6 additions and 2 deletions
|
|
@ -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"'
|
osascript -e 'display notification "Clipboard cleared" with title "pbclear"'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue