Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How zsh works in manjaro #39

Open
talesam opened this issue Feb 19, 2023 · 2 comments
Open

How zsh works in manjaro #39

talesam opened this issue Feb 19, 2023 · 2 comments

Comments

@talesam
Copy link

talesam commented Feb 19, 2023

I'm trying to understand how zsh works in manjaro and in the user's home there is only one .zshrc file with the following content:

# use powerline
USE_POWERLINE="true"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
   source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
   source /usr/share/zsh/manjaro-zsh-prompt
fi

I made a fork of this project and created a package for biglinux, which is derived from manjaro, but zsh didn't work only if the .p10k.zsh file is in the user's home. So I'm a little confused how it's working in manjaro, how do I fetch the zsh configuration that's in /usr/share/zsh/* ?

@Chrysostomus
Copy link
Owner

https://gitlab.manjaro.org/packages/community/manjaro-zsh-config/-/blob/master/PKGBUILD

This PKGBUILD should answer all the questions about the package. ~/.zshrc just points to the config files that under /usr/share/zsh. The lines that fetch the configuration are the ones that start with the word source.

@talesam
Copy link
Author

talesam commented Feb 19, 2023

Solved, my mistake, sorry.
Why doesn't root get zsh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants