Compare commits

...

2 Commits

Author SHA1 Message Date
Buddy Sandidge
ef3642b7e8 Bump go version 2023-06-04 15:17:10 -07:00
Buddy Sandidge
4b6213bf54 Move eval in bash completions 2023-06-04 15:16:52 -07:00
3 changed files with 11 additions and 11 deletions

View File

@ -25,14 +25,6 @@ if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
fi fi
#{{ end -}} #{{ end -}}
#{{ if lookPath "direnv" -}}
eval "$(direnv hook bash)"
#{{ end -}}
#{{ if lookPath "erd" -}}
eval "$(erd --completions bash)"
#{{ end -}}
#{{ if lookPath "helm" -}} #{{ if lookPath "helm" -}}
source <(helm completion bash) source <(helm completion bash)
#{{ end -}} #{{ end -}}
@ -45,6 +37,14 @@ source <(kubectl completion bash)
source <(starship init bash) source <(starship init bash)
#{{ end -}} #{{ end -}}
#{{ if lookPath "direnv" -}}
eval "$(direnv hook bash)"
#{{ end -}}
#{{ if lookPath "erd" -}}
eval "$(erd --completions bash)"
#{{ end -}}
#{{ if lookPath "trubka" -}} #{{ if lookPath "trubka" -}}
eval "$(trubka --completion-script-bash)" eval "$(trubka --completion-script-bash)"
#{{ end -}} #{{ end -}}
@ -59,4 +59,4 @@ fi
if [[ ! "${PATH}" =~ ${HOME}/.rvm/bin ]]; then if [[ ! "${PATH}" =~ ${HOME}/.rvm/bin ]]; then
export PATH="$PATH:$HOME/.rvm/bin" export PATH="$PATH:$HOME/.rvm/bin"
fi fi
#{{ end -}} #{{- end }}

View File

@ -6,7 +6,7 @@ set -e
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
APP=go APP=go
VERSION=${VERSION:-1.20} VERSION=${VERSION:-1.20.4}
DEST="${XDG_DATA_HOME}/apps/releases/${APP}" DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz

View File

@ -5,7 +5,7 @@ set -e
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
VERSION=${VERSION:-1.20} VERSION=${VERSION:-1.20.4}
DEST=/usr/local/apps/golang DEST=/usr/local/apps/golang
URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz URL=https://dl.google.com/go/go${VERSION}.$(get_os)-$(get_arch).tar.gz
DEST_BIN=$DEST/current/bin DEST_BIN=$DEST/current/bin