Comments (13)
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.
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.
MY zsh version
zsh 5.3 (x86_64-apple-darwin18.0)
from powerlevel10k.
Could you type the following and send me the results?
X=1 zsh -df -c '[[ -v X ]] && echo OK'
from powerlevel10k.
Result:
OK
prompt_powerlevel9k_setup
is not have this bug.
from powerlevel10k.
You mean it works if you source /romkatv/powerlevel10k/prompt_powerlevel9k_setup
(note that the directory is still powerlevel10k)?
from powerlevel10k.
ah.. I just checked, Nope.
have same problem.
It was a mistaken for bhilburn/powerlevel9k
from powerlevel10k.
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.
I use antigen.
antigen theme romkatv/powerlevel10k
from powerlevel10k.
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.
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.
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.
Nice work!!
Thank you for your effort. 😄
from powerlevel10k.
Related Issues (20)
- Retrieve func/cmd to retrieve a segment render string (outside of prompt rendering) HOT 1
- No colors in the rainbow mod HOT 12
- Prompt dir segment not updated after jumping to different directory with z.lua+fzf HOT 2
- `No command GNU found` in termux HOT 2
- disk_usage but remaining, and in units! HOT 1
- Can we use XDG_CONFIG_HOME? HOT 2
- What's this character? HOT 4
- Fonts are not shown correctly in tmux HOT 1
- How to modify the color of command HOT 2
- Status line color HOT 1
- Prompt is not rendered after clearing the terminal HOT 4
- Some segments show weird character sequence when changing directory in a git repository HOT 6
- custom colima plugin right prompt element doesn't show HOT 2
- Question: Conditional SHOW_ON_COMMAND based on command line args? HOT 8
- prompt keeps being redrawn when clearing terminal if using `POWERLEVEL9K_PROMPT_ON_NEWLINE` HOT 4
- [Feature Request] Support Azure Devops (ADO) as VCS remote icon HOT 3
- The Icon "took time" is huge on WezTerm until a run a non-instant command HOT 4
- [install offline] [ERROR]: gitstatus failed to initialize HOT 6
- Only show Python version in Virtualenv HOT 3
- Transient prompt not working HOT 3
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.