aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax F. Albrecht <1@178.is>2012-09-14 17:59:04 +0200
committerMathias Bynens <mathias@qiwi.be>2012-09-16 12:40:44 +0200
commitaf441ca751ab19636808e2b24f369c3e59c550b6 (patch)
tree95349dec6ea11f284535395bd9b5700bad5cbe27
parent2ccd01d38baada56da4ebbb3eca7dcfae09626f5 (diff)
downloaddotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.tar.gz
dotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.tar.bz2
dotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.zip
.aliases: Alias `sha1sum` if needed
Ref. #141.
-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"