Compare commits
3 Commits
a6d474a93f
...
64fe2474da
Author | SHA1 | Date | |
---|---|---|---|
64fe2474da | |||
0eb4663dab | |||
a1d663d0d6 |
2
home/.bashrc
Normal file
2
home/.bashrc
Normal file
@ -0,0 +1,2 @@
|
||||
alias date='gdate'
|
||||
alias sed='gsed'
|
1
home/.bin/date
Symbolic link
1
home/.bin/date
Symbolic link
@ -0,0 +1 @@
|
||||
/opt/homebrew/bin//gdate
|
1
home/.bin/readlink
Symbolic link
1
home/.bin/readlink
Symbolic link
@ -0,0 +1 @@
|
||||
/opt/homebrew/bin//greadlink
|
1
home/.bin/sed
Symbolic link
1
home/.bin/sed
Symbolic link
@ -0,0 +1 @@
|
||||
/opt/homebrew/bin//gsed
|
@ -10,7 +10,9 @@ alias _find=`which find`
|
||||
alias _top=`which top`
|
||||
alias _ps="/bin/ps"
|
||||
alias _dig=`which dig`
|
||||
alias _readlink=`which readlink`
|
||||
alias _readlink=`/usr/bin/readlink`
|
||||
alias _sed=`/usr/bin/sed`
|
||||
alias _date=`/bin/date`
|
||||
alias _git=`which git`
|
||||
if command -v $(brew --prefix)/bin/git &>/dev/null; then
|
||||
alias _git=$(brew --prefix)/bin/git
|
||||
@ -35,7 +37,11 @@ alias kctx='switch'
|
||||
alias machine-info='macchina -t Boron --bar'
|
||||
alias watch='watch '
|
||||
alias tmp='cd $(mktemp -d)'
|
||||
which greadlink &>/dev/null && alias readlink=`which greadlink`
|
||||
|
||||
# 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
|
||||
|
||||
lt() {
|
||||
DEPTH=$(echo $1 | grep "^[0-9]*$")
|
||||
|
@ -34,7 +34,7 @@ BREW_TOOLS=(
|
||||
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
||||
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault
|
||||
tabby vale lastpass-cli jless macchina tz vmware-tanzu/carvel/kapp viddy
|
||||
homeassistant-cli act dnsmasq gh kubebuilder golangci-lint
|
||||
homeassistant-cli act dnsmasq gh kubebuilder golangci-lint gnu-sed
|
||||
)
|
||||
# Brew tools only available / needed on Mac
|
||||
MAC_BREW_TOOLS=(
|
||||
|
Loading…
x
Reference in New Issue
Block a user