Comments (6)
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.
You need to put POWERLEVEL9K_*
parameters in ~/.p10k.zsh
.
from powerlevel10k.
@romkatv all the edits were done inside .p10k.zsh
file inside $ZDOTDIR/.p10k.zsh
from powerlevel10k.
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.
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.
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)
- timewarrior segment not showing? HOT 5
- P9K_SSH not set when SSH into WSL HOT 1
- Git icons don't change colour HOT 3
- Promptbar graphic broken issue HOT 1
- unexpected symbol when creating a virtual environment HOT 2
- Background of pyenv doesn't change in p10k file
- The venv doesn't show when activated HOT 3
- OS Icon not working for EndeavourOS HOT 3
- Duplicating PROMPT_CHAR with Transient Prompt HOT 1
- Minimizing window broking my terminal HOT 2
- Missing configuration of `POWERLEVEL9K_VIRTUALENV_GENERIC_NAMES`
- How to change the icon? HOT 4
- Detect Linux console (VC) and fall back from non-functional features HOT 1
- History and auto suggestions HOT 3
- Does the pure style not support the conda environment display? HOT 1
- i want display some welcome message at zsh startup , but encounter ` Console output during zsh initialization detected. ` HOT 1
- power10k doesn't display git status. HOT 5
- Powerlevel10k Issue displaying "?11" HOT 4
- Error "Unable to find the selected font MesloLGS NF" using Windows 11
- Support for postmarketOS icon in prompt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerlevel10k.