diff options
author | Max F. Albrecht <1@178.is> | 2012-09-14 17:59:04 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-09-16 12:40:44 +0200 |
commit | af441ca751ab19636808e2b24f369c3e59c550b6 (patch) | |
tree | 95349dec6ea11f284535395bd9b5700bad5cbe27 /.aliases | |
parent | 2ccd01d38baada56da4ebbb3eca7dcfae09626f5 (diff) | |
download | dotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.tar.gz dotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.tar.bz2 dotfiles-af441ca751ab19636808e2b24f369c3e59c550b6.zip |
.aliases: Alias `sha1sum` if needed
Ref. #141.
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |