From af441ca751ab19636808e2b24f369c3e59c550b6 Mon Sep 17 00:00:00 2001 From: "Max F. Albrecht" <1@178.is> Date: Fri, 14 Sep 2012 17:59:04 +0200 Subject: .aliases: Alias `sha1sum` if needed Ref. #141. --- .aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.aliases b/.aliases index cb0df62..253cbe3 100644 --- a/.aliases +++ b/.aliases @@ -72,6 +72,9 @@ command -v hd > /dev/null || alias hd="hexdump -C" # OS X has no `md5sum`, so use `md5` as a fallback command -v md5sum > /dev/null || alias md5sum="md5" +# OS X has no `sha1sum`, so use `shasum` as a fallback +command -v sha1sum > /dev/null || alias sha1sum="shasum" + # Trim new lines and copy to clipboard alias c="tr -d '\n' | pbcopy" -- cgit v1.2.3