#!/usr/bin/env bash
set -euo pipefail
if ! context=$(kubectl config get-contexts -o name | fzf); then
exit $?
fi
kubectl config use-context "$context"