diff --git a/kubectx b/kubectx index b168a9c..802d1bd 100755 --- a/kubectx +++ b/kubectx @@ -107,7 +107,7 @@ choose_context_interactive() { local choice choice="$(_KUBECTX_FORCE_COLOR=1 \ FZF_DEFAULT_COMMAND="${SELF_CMD}" \ - fzf --ansi || true)" + fzf --ansi --no-preview || true)" if [[ -z "${choice}" ]]; then echo 2>&1 "error: you did not choose any of the options" exit 1 diff --git a/kubens b/kubens index c010122..64d6460 100755 --- a/kubens +++ b/kubens @@ -109,7 +109,7 @@ choose_namespace_interactive() { local choice choice="$(_KUBECTX_FORCE_COLOR=1 \ FZF_DEFAULT_COMMAND="${SELF_CMD}" \ - fzf --ansi || true)" + fzf --ansi --no-preview || true)" if [[ -z "${choice}" ]]; then echo 2>&1 "error: you did not choose any of the options" exit 1