From 95fd2d0a2fe4341918166be08d498f44493ebc7b Mon Sep 17 00:00:00 2001 From: BraydonKains Date: Mon, 22 May 2023 14:13:03 -0400 Subject: [PATCH] update_go script change --- init.vim | 1 + update_go.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index 4dedb77..5a73461 100644 --- a/init.vim +++ b/init.vim @@ -80,6 +80,7 @@ call plug#end() "Telescope nnoremap ff Telescope find_files +nnoremap Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags diff --git a/update_go.sh b/update_go.sh index cc74cb9..04253c0 100644 --- a/update_go.sh +++ b/update_go.sh @@ -1,7 +1,8 @@ GO_VERSION="$1" TMP_DIR="tmp_go" mkdir -p ${TMP_DIR} -wget --no-verbose --output-document=/dev/stdout https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz | \ + +wget --output-document=/dev/stdout https://go.dev/dl/$GO_VERSION.linux-amd64.tar.gz | \ sudo tar --directory ${TMP_DIR} -xzf /dev/stdin sudo rm -rf /usr/local/go sudo mv ${TMP_DIR}/go /usr/local