Changed location of symlinked gnu tools
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
08c0c58227
commit
2a59d2b677
@ -1 +0,0 @@
|
||||
/opt/homebrew/bin//gdate
|
@ -1 +0,0 @@
|
||||
/opt/homebrew/bin//greadlink
|
@ -1 +0,0 @@
|
||||
/opt/homebrew/bin//gsed
|
@ -40,10 +40,10 @@ alias watch='watch '
|
||||
alias tmp='cd $(mktemp -d)'
|
||||
|
||||
# Ensure GNU version of tools are used by default (symlink so they are picked up in scripts also)
|
||||
which greadlink &>/dev/null && ln -sfn `which greadlink` ~/.bin/readlink
|
||||
which gsed &>/dev/null && ln -sfn `which gsed` ~/.bin/sed
|
||||
which gdate &>/dev/null && ln -sfn `which gdate` ~/.bin/date
|
||||
which gbase64 &>/dev/null && ln -sfn `which gbase64` ~/.bin/base64
|
||||
which greadlink &>/dev/null && ln -sfn `which greadlink` /usr/local/bin/readlink
|
||||
which gsed &>/dev/null && ln -sfn `which gsed` /usr/local/bin/sed
|
||||
which gdate &>/dev/null && ln -sfn `which gdate` /usr/local/bin/date
|
||||
which gbase64 &>/dev/null && ln -sfn `which gbase64` /usr/local/bin/base64
|
||||
|
||||
lt() {
|
||||
DEPTH=$(echo $1 | grep "^[0-9]*$")
|
||||
|
Loading…
Reference in New Issue
Block a user