Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: help with installing and correctly configuring zsh on an amd 64 box running gentoo stable



On Fri, Jun 12, 2020 at 6:22 PM Michael Fothergill
<michael.fothergill@xxxxxxxxx> wrote:
> So I used the standard manual install instructions and it ended up in the
> /root directory.  When I put that path into the .zshrc and ran exec zsh as
> a user powerlevel 10k began to run.

It seems like you are doing something unusual. Unless you have a
strong reason, I would advise against copying or sourcing anything
from /root. Better yet, don't log in as root, don't execute `sudo su`,
don't change the root's login shell, don't modify or create any files
under /root, etc. I don't know about Gentoo but when you install
Ubuntu you log in straight away as a regular user. Stay as that user.
If Gentoo doesn't create a regular user for you during installation
and logs you in as root, create a regular user with sudo privileges,
switch to that user and never again log in as root.

Now, supposing that you managed to log in as a regular user, you can
proceed with the installation of software following the standard
installation instructions. Sometimes you'll need to run commands via
`sudo`. That's fine. Only add `sudo` when the command wouldn't work
without it.

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author