From eb821d0bdb4ea63437791f80bf5213d50ea8f4dd Mon Sep 17 00:00:00 2001 From: "Gal Szkolnik (@bobo)" Date: Wed, 8 Nov 2023 23:05:04 -0500 Subject: [PATCH] fix: fix-kubectl incorrect version, load-fzf fixed output --- fix-kubectl | 2 +- load-fzf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fix-kubectl b/fix-kubectl index 3602647..14990d5 100755 --- a/fix-kubectl +++ b/fix-kubectl @@ -39,7 +39,7 @@ if [[ -z "${BASE_0}" || "${BASE_0}" == "$BASE_SHELL" ]]; then if [[ -n "$(type -t 'kubectl-cnpg')" ]]; then . <( kubectl cnpg completion ${SHELL##*/} ) else - DL_VER=1.18.1 + DL_VER=v1.21.1 GH_URL=https://github.com/cloudnative-pg/cloudnative-pg DL_FILE="kubectl-cnpg_${DL_VER}_linux_x86_64.deb" URL=${GH_URL}/releases/download/${DL_VER}/${DL_FILE} diff --git a/load-fzf b/load-fzf index f7c74e3..0586d36 100755 --- a/load-fzf +++ b/load-fzf @@ -10,12 +10,12 @@ if [[ "$1" == "--force" ]]; then fi if [[ -z "$(type -t fzf)" || ! -e "$(type -p fzf)" ]]; then - curl -sS https://webi.sh/fzf | bash + curl -sS https://webi.sh/fzf | bash >&2 printf '%s\n' \ 'Run the following and then try again:' \ ' exec $SHELL -l' \ - '' + '' >&2 elif [[ -z "${BASE_0}" || "${BASE_0}" == "$BASE_SHELL" ]]; then FZF_CTRL_T_COMMAND="command find -L . -xdev -mindepth 1 \\( \