在windows git bash 命令行中,对中文显示不出来?

进入git安装目录,在etc\git-completion.bash 文件中最后一行添加:

alias ls='ls --show-control-chars --color=auto'

说明:使得在 Git Bash 中输入 ls 命令,可以正常显示中文文件名。

猜你喜欢

转载自hbiao68.iteye.com/blog/2055482