You are not logged in.

#1 2022-01-03 14:11:19

EgidioCaprino
Member
Registered: 2016-03-13
Posts: 102

[SOLVED] Oh My Zsh does not work

Hi all,

I installed oh-my-zsh-git from AUR and copied the .zshrc file.

cp /usr/share/oh-my-zsh/zshrc ~/.zshr

In the .zshrc I set the following.

#ZSH_THEME="robbyrussell"
ZSH_THEME="random"

Now, whenever I open a new shell, it prints out [oh-my-zsh] Random theme 'random theme name' loaded but it doesn't actually change the theme. Note that even robbyrussell theme isn't working.

Any idea why that could happen?

Last edited by EgidioCaprino (2022-01-04 09:56:24)

Offline

#2 2022-01-03 14:59:03

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Oh My Zsh does not work

The jokes are going to write themselves on this …

According to the AUR the zshrc patch of the package fails what means the zshrc you copied over is likely as bogus as the rest of OMZ, please post the actual file.

Offline

#3 2022-01-03 15:40:56

EgidioCaprino
Member
Registered: 2016-03-13
Posts: 102

Re: [SOLVED] Oh My Zsh does not work

seth wrote:

The jokes are going to write themselves on this …

According to the AUR the zshrc patch of the package fails what means the zshrc you copied over is likely as bogus as the rest of OMZ, please post the actual file.

This is it.

Offline

#4 2022-01-03 15:55:00

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Oh My Zsh does not work

All patches in that AUR change that, but I'd try to "export ZSH=…" as does upstream

Offline

#5 2022-01-03 15:59:02

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] Oh My Zsh does not work

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2022-01-03 18:05:52

EgidioCaprino
Member
Registered: 2016-03-13
Posts: 102

Re: [SOLVED] Oh My Zsh does not work

seth wrote:

All patches in that AUR change that, but I'd try to "export ZSH=…" as does upstream

I have the exact same problem with the upstream version.

Last edited by EgidioCaprino (2022-01-03 18:13:33)

Offline

#7 2022-01-03 20:02:41

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED] Oh My Zsh does not work

If you add the themes plugin, can you change the theme at runtime?

To answer your pre-edit question: the general advise is to not use OMZ at all, because it's a broken mess (you can search the forum for comments on that)

Offline

#8 2022-01-04 09:56:11

EgidioCaprino
Member
Registered: 2016-03-13
Posts: 102

Re: [SOLVED] Oh My Zsh does not work

Alright, I think it's better without OMZ. Thank you

Offline

Board footer

Powered by FluxBB