-
-
Save ChaosJohn/245c58ae042f172feca2d81ee498afc1 to your computer and use it in GitHub Desktop.
#!/bin/sh | |
DIR="$HOME/.oh-my-zsh/custom/themes" | |
mkdir -p $DIR | |
cd $DIR | |
sed "s/➜/→/g;s/✗/×/g" $HOME/.oh-my-zsh/themes/robbyrussell.zsh-theme > robbyrussell.zsh-theme |
I also had a lot of trouble to set up Powerline on iTerm2 and also oh-my-zsh and just recently bought a Chromebook and I had the same issue like you.
Found a solution:
Use the right fonts -> https://github.com/wernight/powerline-web-fonts
No Problem with hterm or iTerm or any other terminal emulator.
Use one of those fonts with zsh and you will be happy :o)
Cheers guys
@everdimension
@cellcoresystems
Actually the rendering issue under Termius has been fixed for months.
Just check the 'Use new terminal rendering engine' box on under Preferences of Termius.
And because I had stopped using my chromebook, this script is useless for me for now.
(Rendering issue has never been reproduced under iTerm or Terminal of macOS, or default terminal under Ubuntu, or any other modern terminal emulator. )
I was using honukai.zsh-theme, and it uses the ✖︎ symbol. So for my case I updated the replacement command: