From c67cb08768d2606bfd307c497fe6a43f32ac9455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 24 May 2018 21:35:09 +0200 Subject: [PATCH] Add macOS greadlink compatibility alias --- debian-here.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian-here.sh b/debian-here.sh index 31f4c03..fe4b31c 100755 --- a/debian-here.sh +++ b/debian-here.sh @@ -4,6 +4,8 @@ set -o pipefail set -o errtrace shopt -s expand_aliases +[ "$(uname)" == "Darwin" ] && alias readlink="greadlink" || : + pushd() { command pushd "$@" > /dev/null; } popd() { command popd "$@" > /dev/null; }