-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 🐍 to the virtualenv title so I know that's what I see #291
Comments
Hello @dwt, SuggestionA variable defining the symbol for each indicator could do the trick, e.g declaring _pure_set_default pure_symbol_virtualenv "🐍"
_pure_set_default pure_symbol_kubernetes "☸️" By default, I would prefer having it empty for now, to have opt-in mechanism. Could you try to update the test as well? They are still buggy when you run them all, but you should be able to run the one related to one feature, like:
|
Hm, that doesn't seem so easy, I'm getting hangs in the test suite with errors like this:
After that the test container just hangs indefinitely, until I manually kill the container. Any advice? |
Scratch that, the problem was that I was running |
I will add variable, so people can disable those features if need be:
|
@edouard-lopez were you able to make any progress on this? I too am looking for this (similar) functionality but honestly don't see k8s context support in the current code base. Was that a plugin you added or something else? |
Hello @zonywhoop, no progress on my side @dwt was working on a PR, I believe. However, I see two features in this issue:
I'm going to create another issue for the kubernetes one. |
@dwt @zonywhoop |
I'm working on the Python/virtualenv feature on #325 |
Set to empty by default, to preserve exists user dev experience fixes #291
Set to empty by default, to preserve exists user dev experience fixes #291
Env
Pure
4.1.1
Fish
fish, version 3.4.1
OS/distribution
uname -a
Darwin Seneca.fritz.box 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
Problem description
I work with both virtualenvs as well as with Kubernetes a lot. Always correctly keeping track what virtualenv and what Kubernetes context and namespace is active, is really important to me.
To prevent all possible confusion, it would be very helpful if the virtualenv display could include the symbol 🐍. This allows me to distinguish the Kubernetes context and namespace with ☸️.
Proposed Solution
Would you accept a pull request for this? I have so far just edited my local config file to include this, but would like to be able to just update without having to care about this. A feature flag to hide this behind would be fine with me.
The text was updated successfully, but these errors were encountered: