it was?
mkay
As we’ve seen this error twice, it would be nice to know if the other post could verify a similarity… but sure, seeing it twice sheds doubt on a simple .zshrc error.
This problem just started happening for me as well, and happens with a default manjaro .zshrc as well. I need to comment out “source /usr/share/zsh/manjaro-zsh-prompt” from .zshrc to make it work.
It seems to have something to do with Powerlevel10k. If I instead comment out “source /usr/share/zsh/p10k.zsh” from manjaro-zsh-prompt it takes me to the Powerlevel10k wizard, and if I go through the wizard I end up in the same broken state.
Those outdated Manjaro zsh related packages were always source of bugs in Konsole.
Using directly the maintained ohmyzsh thing should be the best option.
Or just use that good old-fashioned but POSIX-compatible GNU bash
, which is still the standard choice among most distributions.
anyway , everything else is just a gimmick …
I disagree strongly. Better (for me) was this:
# source /usr/share/zsh/manjaro-zsh-prompt
source ~/powerlevel10k/powerlevel10k.zsh-theme
Why I ditched Oh-my-zsh
- slow shell startup loading many plugins and themes by default
- extra complications to your zshrc
- managing stuff gets messy if you’re not careful
- overwrites custom configs
- cumbersome plugin management
I sped up my zsh after a Brodie video some time ago that just prompted me to realise it’s better to DIY.
you don’t need THAT many plugins
- this stuff gets complicated and buggy when it is abstracted (the very problem we have here, not using a default prompt, or your own prompt, relying on the Manjaro prompt caused this…)
It’s the definition of bloat, it lasted one month with me, and it also can bring in clashes with alias commands… like ’ ls
→ ls --color=auto
which I haven’t used since the early noughties.
However, overall…
- nothing wrong with loving bash - there are reasons that many sysadmins and professionals stick with the one most basic ubiquitous shell. This doesn’t make it the best.
BASH vs ZSH vs FISH
It’s a silly argument… I use all 3 and I know which one takes first, second, and third place (depending on use-case and environment).
#!/usr/bin/env bash
in scripts - what’s the problem?
FISH is superb, I love functions and abbreviations - and I have no problem with POSIX scripting because I also have ZSH and BASH… I
As usual, threads kinda devolve into evangelism over an issue with I don’t remember ever occuring before…
I was concerned by this, so my default shell is zsh, but my terminal (konsole/kitty) load up with fish.
You like bash…
chsh -s /bin/bash
Then open Konsole (this is Plasma…) Current Profile » command tab » /usr/bin/fish