ohmyzsh: Agnoster theme doesn't work
When I launch zsh, I get
(anon):12: character not in range
I’ve installed powerline fonts, help plz!
I’m using konsole for kde plasma 5 to launch zsh, but I get the same error with Terminator, too. My OS is arch linux if that helps any
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 20 (6 by maintainers)
Commits related to this issue
- Setup locale to fix zsh agnoster theme error See https://github.com/ohmyzsh/ohmyzsh/issues/4786 — committed to zivv/conf by zivv 2 years ago
- Setup locale to fix zsh agnoster theme error See https://github.com/ohmyzsh/ohmyzsh/issues/4786 — committed to zivv/conf by zivv 2 years ago
I encounter this problem with my Docker. It needs to set
localein advance. I run the following code to solve the problem.You need to install a locale that supports
UTF-8. Notice you only haveCandPOSIXavailable which are, I suppose, the default locales shipped with archlinux. See generating locales.I have this problem too, and it turns out it is a problem with WSL. So for anyone that’s trying to fix this problem in the future, and is using WSL I would look at https://github.com/Microsoft/WSL/issues/1878
It cannot be done currently, but if you search for
light agnosterin this repository’s pull requests you’ll find some that can work for you.but how do I change that color from that hard-to-see dark blue?
Glad to help 👍
Oh. Sorry! I uncommented the UTF-8 en_US locale, but didn’t know I had to locale-gen again! Sorry!
locale:
locale -a:
This could be a locale issue. Please post the output of both
localeandlocale -a.