mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 10:39:57 +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 "$_";
|
||||
}
|
||||
|
||||
# "Fake" sha256sum
|
||||
if [[ -x `which sha256sum` ]]; then
|
||||
function sha256sum() {
|
||||
shasum -a256 $1
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
# pushover notification
|
||||
function pushover() {
|
||||
curl -s \
|
||||
|
Loading…
Reference in New Issue
Block a user