diff --git a/zsh/scripts b/zsh/scripts index 44258b6..a54a92d 100644 --- a/zsh/scripts +++ b/zsh/scripts @@ -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 \