aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.aliases3
1 files changed, 3 insertions, 0 deletions
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"