<commit_before>#!/bin/sh

kubectl() {
	# shellcheck disable=SC1090,SC2039
	source <(command kubectl completion zsh)
	command kubectl "$@"
}

kx() {
	test -n "$1" && kubectl config use-context "$1"
	test -z "$1" && kubectl config get-contexts
}

alias k='kubectl'
alias sk='kubectl -n kube-system'
alias ke='EDITOR=vim kubectl edit'

alias kdebug='kubectl run -i -t debug --rm --image=caarlos0/debug --restart=Never'
alias kfails='kubectl get po -owide | grep "0/" | tee /dev/tty | wc -l'
alias kimg="kubectl get deployment --output=jsonpath='{.spec.template.spec.containers[*].image}'"<commit_msg>fix: fails in all namespaces<commit_after>#!/bin/sh

kubectl() {
	# shellcheck disable=SC1090,SC2039
	source <(command kubectl completion zsh)
	command kubectl "$@"
}

kx() {
	test -n "$1" && kubectl config use-context "$1"
	test -z "$1" && kubectl config get-contexts
}

alias k='kubectl'
alias sk='kubectl -n kube-system'
alias ke='EDITOR=vim kubectl edit'

alias kdebug='kubectl run -i -t debug --rm --image=caarlos0/debug --restart=Never'
alias kfails='kubectl get po -owide --all-namespaces | grep "0/" | tee /dev/tty | wc -l'
alias kimg="kubectl get deployment --output=jsonpath='{.spec.template.spec.containers[*].image}'"
{'fraction_non_alphanumeric': 0.16639477977161501, 'fraction_numerical': 0.021207177814029365, 'mean_word_length': 4.453333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4295584', 'n_tokens_mistral': 516, 'n_tokens_neox': 493, 'n_words': 124}