Git Product home page Git Product logo

Comments (13)

romkatv avatar romkatv commented on July 17, 2024 1

Figured it out. That line where you call prompt_powerlevel9k_setup translates to sh powerlevel10k/prompt_powerlevel9k_setup. This file isn't a valid sh script, so you get errors.

I added test -n "$ZSH_VERSION" || exit 1 at the top so that you won't get errors anymore. However, you need to remove prompt_powerlevel9k_setup from your code. It does not and cannot do anything useful.

Please reopen if this doesn't fix your issue.

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

What does zsh --version say? If it's below 5.2, you'll need to update zsh. See the last item in the FAQ.

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

MY zsh version
zsh 5.3 (x86_64-apple-darwin18.0)

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

Could you type the following and send me the results?

X=1 zsh -df -c '[[ -v X ]] && echo OK'

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

Result:
OK

prompt_powerlevel9k_setup is not have this bug.

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

You mean it works if you source /romkatv/powerlevel10k/prompt_powerlevel9k_setup (note that the directory is still powerlevel10k)?

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

ah.. I just checked, Nope.
have same problem.

It was a mistaken for bhilburn/powerlevel9k

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

To make sure I got it right. When you source /romkatv/powerlevel10k/prompt_powerlevel9k_setup you get an error, but when source the same file from powerlevel9k it works. Correct?

Are you executing source /romkatv/powerlevel10k/prompt_powerlevel9k_setup directly or is it done on your behalf by a plugin manager? If the latter, which plugin manager and how do you load powerlevel10k with it?

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

I use antigen.

antigen theme romkatv/powerlevel10k

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

Does it work if you disable your current theme in antigen and source powerlevel10k directly? See https://github.com/romkatv/powerlevel10k/blob/master/README.md#how-do-i-use-powerlevel10k-with-zplug-prezto-oh-my-zsh-antigen-somethingelse.

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

There was nothing wrong with just running it.
But execute like this
https://github.com/black7375/BlaCk-Void-Zsh/blob/f841bd2010d3642440861e847a7c3cbef9b298b7/BlaCk-Void.zshrc#L302

I have a problem.

from powerlevel10k.

romkatv avatar romkatv commented on July 17, 2024

Thanks for the info! I should now have everything necessary to reproduce this. I'll give it a shot a few hours later.

from powerlevel10k.

black7375 avatar black7375 commented on July 17, 2024

Nice work!!
Thank you for your effort. 😄

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.