Comments (7)
That's how zsh works: it sources startup files from the home directory. When you log in as root, the home directory is /root
.
If you like, you can configure root's zsh to source powerlevel10k. A better solution is to never log in as root.
from powerlevel10k.
Hey @romkatv I added source ~/.p10k.zsh
to the .zshrc for both root and pi users and issue remains even after a new session
It seems to work when I do su pi
but not su - pi
Why does su pi
load p10k but not su - pi
?
from powerlevel10k.
If you want to install powerlevel10k for root, you need to log in as root and then install powerlevel10k as usual. I don't recommend doing that but you can.
from powerlevel10k.
Its installed for both root and pi
The issue is it doesnt load when I log in as root and switch to pi
But if I log in as root or as Pi it works fine
from powerlevel10k.
If you want to activate powerlevel10k, you need to source it. Usually you source it from a zsh startup file. You can find the list of zsh startup files here: https://zsh.sourceforge.io/Intro/intro_3.html
from powerlevel10k.
I've seen your comment the first time you sent it. There is no need to delete and send it again.
I've nothing else to add to this issue.
from powerlevel10k.
Update: issue was due to the Pi user unable to access the Root user .zsh files due to file permissions. doh!
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.