fix: fix-kubectl incorrect version, load-fzf fixed output
This commit is contained in:
parent
122ee40042
commit
eb821d0bdb
|
@ -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}
|
||||
|
|
4
load-fzf
4
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 \\( \
|
||||
|
|
Loading…
Reference in New Issue