migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
2da5ffd1f4
265 changed files with 62 additions and 3123 deletions
9
configs/fish/functions/_pure_k8s_namespace.fish
Normal file
9
configs/fish/functions/_pure_k8s_namespace.fish
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function _pure_k8s_namespace
|
||||
set namespace (kubectl config view --minify --output 'jsonpath={..namespace}' 2>/dev/null)
|
||||
|
||||
if test -z "$namespace"
|
||||
set namespace default
|
||||
end
|
||||
|
||||
echo $namespace
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue