Dotfiles commit (try to keep under 50 characters)
Multi-line description of commit, feel free to be detailed. [Ticket: X] ~ ~ ".git/COMMIT_EDITMSG" 14L, 297C
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user