We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bcd0d5 commit 013b6bcCopy full SHA for 013b6bc
kubectx
@@ -227,7 +227,7 @@ main() {
227
# we don't call current_context here for two reasons:
228
# - it does not fail when current-context property is not set
229
# - it does not return a trailing newline
230
- kubectl config current-context
+ $KUBECTL config current-context
231
elif [[ "${1}" == '-u' || "${1}" == '--unset' ]]; then
232
unset_context
233
elif [[ "${1}" == '-h' || "${1}" == '--help' ]]; then
0 commit comments