From 8b679107f3d9e5f963d4335234e156f4480b8bd4 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 7 Feb 2017 14:58:20 +0000 Subject: [PATCH] etc/profile.d/mac.sh --- etc/profile.d/mac.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index caad7378..dae97ef5 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -110,6 +110,7 @@ mac_user_top_proc() { } md5sum() { + which md5sum && (eval "$(which md5sum) $@"; return) md5 "$@" | sed "s/^MD5 (\(.*\)) = \(.*\)$/\2 \1/" } -- 2.47.3