Loading .shell/lib/shared.sh +7 −0 Original line number Diff line number Diff line Loading @@ -24,3 +24,10 @@ has() { type "$1" } >/dev/null 2>&1 if has realpath; then expand() { realpath $1; } elif has readlink; then expand() { readlink -f $1; } fi Loading
.shell/lib/shared.sh +7 −0 Original line number Diff line number Diff line Loading @@ -24,3 +24,10 @@ has() { type "$1" } >/dev/null 2>&1 if has realpath; then expand() { realpath $1; } elif has readlink; then expand() { readlink -f $1; } fi