Git Product home page Git Product logo

Comments (6)

ahmedelgabri avatar ahmedelgabri commented on August 16, 2024 1

Ok, I managed to do what I want using the following instead, found out about _PREFIX from this discussion #2567 (reply in thread)

# I set the icon here
typeset -g POWERLEVEL9K_VCS_PREFIX=''
# I remove the icon from here
typeset -g POWERLEVEL9K_VCS_BRANCH_ICON=

from powerlevel10k.

romkatv avatar romkatv commented on August 16, 2024

You need to put POWERLEVEL9K_* parameters in ~/.p10k.zsh.

from powerlevel10k.

ahmedelgabri avatar ahmedelgabri commented on August 16, 2024

@romkatv all the edits were done inside .p10k.zsh file inside $ZDOTDIR/.p10k.zsh

from powerlevel10k.

ahmedelgabri avatar ahmedelgabri commented on August 16, 2024

Here is a video showing the problem, I made the 2nd change to prove that the file is read correctly but some changes are applied while others are not, in this case, POWERLEVEL9K_VCS_BRANCH_ICON

Kapture.2024-06-09.at.00.46.17.mp4

from powerlevel10k.

Syphdias avatar Syphdias commented on August 16, 2024

I just replaced my .p10k.zsh with the pure config and tried what you did and it worked.
Do you overwrite it maybe on a later line? Or you have it in another file you source? Does echo $POWERLEVEL9K_VCS_BRANCH_ICON print the icon?

from powerlevel10k.

ahmedelgabri avatar ahmedelgabri commented on August 16, 2024

Do you overwrite it maybe on a later line? Or you have it in another file you source?

Yeah, I found out the problem was here, I had a different file which I source that I tried to set it up there first 🤦🏼

But the problem with respecting the space is still there.

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.