mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 18:49:55 +01:00
Add sha256sum function, if not installed
This commit is contained in:
parent
47ddcdb913
commit
b0ba5d1cc8
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user