Skip to content
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

python section not working #1387

Open
kdorking opened this issue Sep 16, 2023 · 3 comments
Open

python section not working #1387

kdorking opened this issue Sep 16, 2023 · 3 comments
Labels
bug Bug related to code base, behavior, displaying, etc.

Comments

@kdorking
Copy link

kdorking commented Sep 16, 2023

The problem

The python section is not recognized, when changing to directory containing python code the prompt for the python related info is not displayed. This is only the case for python. For java and node the prompt is fine.

Relevant Zsh configuration

source "$HOME/.zsh/spaceship/spaceship.zsh"

What is version of Spaceship are you using?

v4.14.0

What is version of Zsh are you using?

zsh 5.9 (arm-apple-darwin21.3.0)

What operation system are you running?

macOS Ventura

Do you use any Zsh framework or plugin manager?

No response

Which terminal emulator do you use?

iTerm

Additional information

The prompt works fine if you create a python virtual environment.

@kdorking kdorking added the bug Bug related to code base, behavior, displaying, etc. label Sep 16, 2023
@shaunakv1
Copy link

I am using poetry, and have pyproject.toml in the directory along with a python file. The prompt doesn't work. I also updated to latest version.

@scrodrig
Copy link

I have the last version too. "version": "4.15.0", I'm using pyenv and it's not working either on $ZSH_VERSION>5.8

@shot-codes
Copy link

I had the same issue. I ended up switching to https://starship.rs/. I am not affiliated in any way but they have rich configuration options for pyenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug related to code base, behavior, displaying, etc.
Development

No branches or pull requests

4 participants