Last active
August 29, 2015 13:56
-
-
Save pa4373/8859217 to your computer and use it in GitHub Desktop.
Fix chinese characters and input problem under Git Bash (MINGW32)
This file contains hidden or 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
# Usage: $ curl -L [GIST_RAW_URL] | sh | |
echo "alias ls='/bin/ls --show-control-chars -F --color=tty'" >> /etc/profile | |
sed -i -e "s/PS1=\"\$PS1\"'\\\n'/#PS1=\"\$PS\"'\\\n'/g" /etc/profile | |
echo "set meta-flag on\nset input-meta on\nset output-meta on\nset convert-meta off" >> /etc/inputrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment