This commit is contained in:
Piotr Domański 2025-05-27 10:20:30 +02:00
parent e3a1e6a73d
commit 8f8a1e8548

View file

@ -53,4 +53,9 @@ if [[ "$(uname)" == "Darwin" ]]; then
check_ssh_add
export CHROME_EXECUTABLE='/Applications/Chromium.app/Contents/MacOS/Chromium'
pidof() {
local name=$1
ps -Ac -o pid,comm | awk "/^ *[0-9]+ ${name}$/ {print \$1}"
}
fi