Git Product home page Git Product logo

Comments (6)

romkatv avatar romkatv commented on August 16, 2024 1

Can you confirm that you currently see freecodecamp_llm in prompt (which identifies the project from which the virtual environment is active) but you want to see venv instead (which does not tell you which virtual environment is active)?

from powerlevel10k.

romkatv avatar romkatv commented on August 16, 2024 1

If so, open ~/.p10k.zsh and add typeset -g POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES=() to it. Then restart zsh with exec zsh.

from powerlevel10k.

romkatv avatar romkatv commented on August 16, 2024 1

You are welcome.

from powerlevel10k.

romkatv avatar romkatv commented on August 16, 2024

What is the output of the following command when the venv is active?

typeset -pm '*POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES|VIRTUAL_ENV'

from powerlevel10k.

princox avatar princox commented on August 16, 2024

Hello! Thank you for replying :)

export VIRTUAL_ENV=/Users/myUser/Documents/langchain_projects/freecodecamp_llm/venv
typeset -a POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES=( virtualenv venv .venv env )
typeset _POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES='virtualenv|venv|.venv|env'

I want to have my virtualenv following virtual env file name.
example) python -m venv myEnv
-> display: (myEnv)

How do we make this change?

What is the output of the following command when the venv is active?

typeset -pm '*POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES|VIRTUAL_ENV'

from powerlevel10k.

princox avatar princox commented on August 16, 2024

typeset -g POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES=()

Thank you so much.

This may be a mundane answer to you, but it was a big deal to me.
I want to be like you and create tools that are useful to others.

Have a good night. Thank you so much!!!

from powerlevel10k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.