Created
November 22, 2017 06:26
-
-
Save ChaosJohn/245c58ae042f172feca2d81ee498afc1 to your computer and use it in GitHub Desktop.
Fix "➜" and "✗" of oh-my-zsh default theme making the cursor position wrong under some terminals(such as Mosh Chrome App, Termius[Chrome App Version, Mac Version, Windows Version])
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
@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. )
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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