You are not logged in.

#1 2017-07-25 08:17:18

Evergreen
Member
Registered: 2016-08-14
Posts: 16

[SOLVED] zsh starts with old theme (not sourcing ~/.zshrc ?)

I have the following in my ~/.zshrc file

source /usr/share/zsh/share/antigen.zsh

antigen use oh-my-zsh

antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle command-not-found


antigen bundle mafredri/zsh-async
antigen bundle sindresorhus/pure
#antigen theme agnoster

antigen apply

I had tried agnoster theme initially, and then switched to pure theme. But every time I start a new urxvt terminal (using windows + enter shortcut), it starts in agnoster theme. if I manually source ~/.zshrc, it switches to the pure theme. I don't know what other files are causing this agnoster theme to appear even though it is clearly commented in my ~/.zshrc file.

Last edited by Evergreen (2017-07-27 16:08:02)

Offline

#2 2017-07-25 12:15:17

ChoromPotro
Member
Registered: 2017-07-16
Posts: 11

Re: [SOLVED] zsh starts with old theme (not sourcing ~/.zshrc ?)

Remove the # before the theme command

Offline

#3 2017-07-25 12:52:39

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] zsh starts with old theme (not sourcing ~/.zshrc ?)

ChoromPotro wrote:

Remove the # before the theme command

@Evergreen doesn't want the agnoster theme applied. That's the issue.

My guess would be that oh-my-zsh is messing things up somehow. Either search through all 5 billion lines of poorly written oh-my-zsh-code to figure out what's going wrong or uninstall it and configure zsh yourself.

Last edited by Slithery (2017-07-25 12:52:52)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2017-07-26 07:12:38

Evergreen
Member
Registered: 2016-08-14
Posts: 16

Re: [SOLVED] zsh starts with old theme (not sourcing ~/.zshrc ?)

antigen reset seems to have fixed the problem.

Regarding avoiding oh-my-zsh, is it possible to use antigen without it?

Offline

Board footer

Powered by FluxBB