Comments (9)
Hmm, this works for me:
jmosco at jmosco-005715 in ~ (⎈ |tectonic-prod:upstream-tools)
$ export KUBE_PS1_SEPARATOR=''
jmosco at jmosco-005715 in ~ (⎈ tectonic-prod:upstream-tools)
$
from kube-ps1.
@jonmosco try doing it before source kube-ps1.sh
from kube-ps1.
And 1dede0a
from kube-ps1.
Is this fixing it only for the separator?
from kube-ps1.
from kube-ps1.
I'm thinking about something different for this now. If the user wants to enable/disable a prompt component, there shoud be an option for it:
KUBE_PS1_SEPARATOR_ENABLE=false
This way the variable can be set to a default like |
, and overwritten with a different character if desired. Thoughts?
from kube-ps1.
Tbh doesn’t make a lot of sense to me. If I wanna disable it, I can always set it to empty string. Is it not possible to detect empty value vs unset variable?
from kube-ps1.
Ok, think we are good to go. Test away.
from kube-ps1.
works good now, thanks!
from kube-ps1.
Related Issues (20)
- About `KUBE_PS1_SHELL` HOT 2
- Latest VScode 1.74 breaks kube-ps1: character not in range HOT 1
- kubeon/kubeoff does not change prompt when added as oh-my-zsh plugin HOT 10
- display context name HOT 2
- installing in Windows HOT 2
- Running kube_ps1 in bash function returns blank HOT 5
- A few questions about the documentation HOT 1
- multiple prompts HOT 7
- Hide no cluster and default namespace option HOT 2
- Dynamic context colors HOT 3
- Automatically disable kube-ps1 when no context is available HOT 2
- Support fish shell HOT 1
- Add support for Warp HOT 1
- Couldn't Show ☸️ in My Prompt HOT 2
- Ability to display kube-ps1 on the right side of the prompt HOT 1
- Character not in range HOT 2
- Don't work with spaceship theme HOT 3
- Would be great to have Nix Package for kube-ps1
- Multiple prompts if I source .zshrc HOT 2
- Keep kubeoff as default when opening new terminal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-ps1.