diff --git a/src/app/common/prompt/prompt.tsx b/src/app/common/prompt/prompt.tsx index d2e544a3..be080055 100644 --- a/src/app/common/prompt/prompt.tsx +++ b/src/app/common/prompt/prompt.tsx @@ -172,16 +172,16 @@ class Prompt extends React.Component< ); } - if (!isBlank(festate["K8SCONTEXT"])) { - const k8sContext = festate["K8SCONTEXT"]; - const k8sNs = festate["K8SNAMESPACE"]; - k8sElem = ( - - k8s:({k8sContext} - {isBlank(k8sNs) ? "" : ":" + k8sNs}){" "} - - ); - } + // if (!isBlank(festate["K8SCONTEXT"])) { + // const k8sContext = festate["K8SCONTEXT"]; + // const k8sNs = festate["K8SNAMESPACE"]; + // k8sElem = ( + // + // k8s:({k8sContext} + // {isBlank(k8sNs) ? "" : ":" + k8sNs}){" "} + // + // ); + // } return ( {remoteElem} {cwdElem} {branchElem} {condaElem} {pythonElem} {k8sElem} diff --git a/waveshell/pkg/shellapi/zshapi.go b/waveshell/pkg/shellapi/zshapi.go index 461543c7..34ac1108 100644 --- a/waveshell/pkg/shellapi/zshapi.go +++ b/waveshell/pkg/shellapi/zshapi.go @@ -531,8 +531,6 @@ for var in "${(@k)dis_functions_source}"; do done printf "[%SECTIONSEP%]"; [%GITBRANCH%] -[%K8SCONTEXT%] -[%K8SNAMESPACE%] printf "[%SECTIONSEP%]"; print -P "$PS1" printf "[%SECTIONSEP%]";