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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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. )