Compare commits

...

2 Commits

Author SHA1 Message Date
Jan Jastrow
84f24a8173 Fix script, duh 2022-05-19 15:51:05 +02:00
Jan Jastrow
b0ba5d1cc8 Add sha256sum function, if not installed 2022-05-19 15:44:43 +02:00

View File

@ -12,6 +12,14 @@ function mkcd() {
mkdir -p "$@" && cd "$_"; mkdir -p "$@" && cd "$_";
} }
# "Fake" sha256sum
if [[ ! -x `which sha256sum` ]]; then
function sha256sum() {
shasum -a256 $1
}
fi
# pushover notification # pushover notification
function pushover() { function pushover() {
curl -s \ curl -s \