massive cleanup
This commit is contained in:
parent
81da0e63fa
commit
5a6ec6f75c
35 changed files with 134 additions and 126 deletions
|
@ -1,6 +1,6 @@
|
|||
# vim: ft=bash
|
||||
|
||||
function _ddev() {
|
||||
_ddev() {
|
||||
cache="/tmp/${FUNCNAME[0]}"
|
||||
|
||||
if ! [ -f "$cache" ]; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# vim: ft=bash
|
||||
|
||||
function _gi() {
|
||||
_gi() {
|
||||
cache="/tmp/${FUNCNAME[0]}"
|
||||
|
||||
if ! [ -f "$cache" ]; then
|
||||
|
|
|
@ -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)" \
|
||||
|
|
|
@ -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}')" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue