#!/usr/bin/env bash case "$1" in mycloud) shift command kubectl --kubeconfig=<(pass show mycloud/kubeconfig) "${@}" ;; *) command kubectl "${@}" ;; esac