massive cleanup

This commit is contained in:
ange 2025-06-17 05:13:23 +00:00
parent 81da0e63fa
commit 5a6ec6f75c
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
35 changed files with 134 additions and 126 deletions

View file

@ -1,6 +1,6 @@
# vim: ft=bash
function _ddev() {
_ddev() {
cache="/tmp/${FUNCNAME[0]}"
if ! [ -f "$cache" ]; then

View file

@ -1,6 +1,6 @@
# vim: ft=bash
function _gi() {
_gi() {
cache="/tmp/${FUNCNAME[0]}"
if ! [ -f "$cache" ]; then

View file

@ -1,6 +1,6 @@
# vim: ft=bash
function _kctx() {
_kctx() {
[ "$COMP_CWORD" -ne 1 ] && return
mapfile -t COMPREPLY < <(compgen -W \
"$(kubectl config get-contexts -o name)" \

View file

@ -1,6 +1,6 @@
# vim: ft=bash
function _kns() {
_kns() {
[ "$COMP_CWORD" -ne 1 ] && return
mapfile -t COMPREPLY < <(compgen -W \
"$(kubectl get namespace -o jsonpath='{..metadata.name}')" \