Grmlzshrc conflicts with oh-my-zsh and best uses of both?

Hi, al.

I was trying to install some oh-my-zsh themes through antigen but termite doesn’t seem to react to .zshrc themes.

Google tells me that grml zshrc config package may be hindering this. I’ve never customised my shell experience so i don’t know:

  • should i just remove grml-zsh package or customise it myself.
  • what are some key additions that this package provides for terminal

Hello sir,

What do you mean “termite doesn’t react to .zshrc” themes? Be more specific.

Generally (sometimes) you have to reload your session in order to make changes apply. For me when I jump from Sh to ZSH after a fresh installation I have to reload the sessions to set zsh as default. Perhaps you should try that as well.

The situation is the following.

I have a string in my .zshrc “ZSH_THEME=random” and every time I reload shell or source .zshrc there is a message in the first line of the termite window “oh-my-zsh theme Agnoster is loaded” (or other theme name) but promts structure and and colors stay the same.

This exact thing in macOS switches to random theme.


Other things from .zshrc, like aliases and variables, work as expected

First of all I’m kinda sure that the right syntax is ZSH_THEME="random" instead of ZSH_THEME=random, secondly if that still doesn’t work then consider posting somewhere your .zshrc so that we can take a look.

Also, that’s more of a zsh problem than an Archlabs problem.

Moved to a more relevant category.

@onoma, definitely need to see some configs so we can determine the issue. Sounds like what @unix121said, it’s more a zsh issue.

Hello guys, thank you for your reply

here is googled answer i mention

Here is the .zshrc


[[ $- != i ]] && return

export PATH=$HOME/bin:$PATH
export EDITOR=‘nano’

setopt AUTO_CD # No cd needed to change directories
setopt BANG_HIST # Treat the ‘!’ character specially during expansion.


setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history.
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate.
setopt HIST_IGNORE_DUPS # Don’t record an entry that was just recorded again.
setopt HIST_IGNORE_SPACE # Don’t record an entry starting with a space.
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry.
setopt HIST_SAVE_NO_DUPS # Don’t write duplicate entries in the history file.
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
setopt SHARE_HISTORY # Share history between all sessions.

PS1=’[\u@\h \W]$ ’

alias ls=‘ls --color=auto’
alias la=‘ls -A’
alias ll=‘ls -lA’
alias l=‘ls’
alias l.=“ls -A | egrep ‘^.’”
alias merge=‘xrdb -merge ~/.Xresources’
alias pmsyu=‘sudo pacman -Syu --color=auto’
alias pacman=‘sudo pacman --color auto’
alias update=‘sudo pacman -Syu’
alias mirrors=‘sudo reflector --score 100 --fastest 25 --sort rate --save /etc/pacman.d/mirrorlist --verbose’
alias condainit=‘export PATH="/home/onoma/miniconda3/bin:$PATH"’

neofetch --ascii

If you come from bash you might have to change your $PATH.

export PATH=$HOME/bin:/usr/local/bin:$PATH

Path to your oh-my-zsh installation.

export ZSH=/home/onoma/.oh-my-zsh


Also please see describes behavior.

Sorry for ugly formatiing

Yea its a known issue, run

sudo pacman -Rns grml-zsh-config --noconfirm

Your oh-my-zsh will work as youd expect afterwards

1 Like

@nate , thank you.

As I am new to zsh I am experimenting. Don’t know if oh-my-zsh will be useful for me, and while dealing with this issue I’ve read a lot of praise to grml-zsh-config, and now I am in a fear of missing out some cool stuff.

what features do you like about grml-zsh-config?

1 Like

If you want a stock zsh setup without the need to tweak and
dont need all the custom themes then grml’s is a great option.

The reason we include grml’s config is because mainly,
it’s a part of the official Arch repos, and it sets sane defaults.

Without it tab completion as well as other things don’t work
without first setting it up manually in your zshrc

Oh my zsh does basically the same thing but with more themes and plugins
and is what I personally run and would recommend to someone interested in zsh

In short if you want customization and eye candy use oh my zsh,
but if you just want to get started with zsh
and only want to use official packages then use grml’s


By the formatting on this comment, I first thought that it was a poem. I even tried reading it as one :stuck_out_tongue:


Now that you’ve metioned it…:thinking:

1 Like

I can’t help it :stuck_out_tongue: totally agree though, I just did what I thought looks best.
My longest line was 78 Chars :smiley: totally unplanned btw, something is wrong with me


I don’t know, I kinda like it. It gives it that artistic flair. God only knows how many technical books I have read through, or was it slept through, and wished they would do something to make less, I don’t know, technical. The last time I checked, I am not a computer. :grin: