Add macOS greadlink compatibility alias
This commit is contained in:
parent
bb04e61672
commit
c67cb08768
@ -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; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user