Add macOS greadlink compatibility alias

This commit is contained in:
Kristóf Tóth 2018-05-24 21:35:09 +02:00
parent bb04e61672
commit c67cb08768

View File

@ -4,6 +4,8 @@ set -o pipefail
set -o errtrace set -o errtrace
shopt -s expand_aliases shopt -s expand_aliases
[ "$(uname)" == "Darwin" ] && alias readlink="greadlink" || :
pushd() { command pushd "$@" > /dev/null; } pushd() { command pushd "$@" > /dev/null; }
popd() { command popd "$@" > /dev/null; } popd() { command popd "$@" > /dev/null; }