Compare commits

..

2 Commits

Author SHA1 Message Date
sawka c711d32f54 bump version to v0.7.4 2024-05-01 21:07:48 -07:00
sawka 89f117b922 remove k8s prompt commands (performance issue) 2024-05-01 21:06:57 -07:00
3 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
},
"productName": "Wave",
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
"version": "0.7.3",
"version": "0.7.4",
"main": "dist/emain.js",
"license": "Apache-2.0",
"repository": {
+10 -10
View File
@@ -172,16 +172,16 @@ class Prompt extends React.Component<
</span>
);
}
if (!isBlank(festate["K8SCONTEXT"])) {
const k8sContext = festate["K8SCONTEXT"];
const k8sNs = festate["K8SNAMESPACE"];
k8sElem = (
<span title="k8s context:namespace" className="term-prompt-k8s">
k8s:({k8sContext}
{isBlank(k8sNs) ? "" : ":" + k8sNs}){" "}
</span>
);
}
// if (!isBlank(festate["K8SCONTEXT"])) {
// const k8sContext = festate["K8SCONTEXT"];
// const k8sNs = festate["K8SNAMESPACE"];
// k8sElem = (
// <span title="k8s context:namespace" className="term-prompt-k8s">
// k8s:({k8sContext}
// {isBlank(k8sNs) ? "" : ":" + k8sNs}){" "}
// </span>
// );
// }
return (
<span className={termClassNames}>
{remoteElem} {cwdElem} {branchElem} {condaElem} {pythonElem} {k8sElem}
-2
View File
@@ -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%]";